Re: index organized tables use case
От | Isak Hansen |
---|---|
Тема | Re: index organized tables use case |
Дата | |
Msg-id | 6b9e1eb20712120643k6599d6f8k88ac1bbee1391152@mail.gmail.com обсуждение исходный текст |
Ответ на | index organized tables use case (Enrico Sirola <enrico.sirola@gmail.com>) |
Список | pgsql-general |
On 12/12/07, Enrico Sirola <enrico.sirola@gmail.com> wrote: > Hello Isak, > > Isak Hansen ha scritto: > > > Have a look at the cluster operation; > > <http://www.postgresql.org/docs/8.3/static/sql-cluster.html>. > > > > AFAIK it does lock & duplicate the whole table during reordering, > > which may or may not be an issue for you. > Sorry Enrico and list, the respond-to setting on this list gets me every time.. > thanks for the reply; I was aware about this option, anyway I think > probably it won't be practical: the table is very big and this exclusive > lock would probably be a pain. I think probably I will start with the > present relation and then redesign the application at a second stage This is a long shot, but if the table is huge you could also consider partitioning. That really depends on the contents of 'code', though.. See <http://www.postgresql.org/docs/8.3/static/ddl-partitioning.html>. Isak > Thanks, > e. >
В списке pgsql-general по дате отправления: