| От | Bruce Momjian |
|---|---|
| Тема | Re: Re: Loading optimization |
| Дата | |
| Msg-id | 200101111848.NAA26404@candle.pha.pa.us обсуждение |
| Ответ на | Re: Re: Loading optimization (kleptog@cupid.suninternet.com (Martijn van Oosterhout)) |
| Список | pgsql-general |
> Also, in our case, clustering by a single index is not really sufficient. > Within a single bill we would like to cluster the items by service. I was > thinking or writing a program that would do a pg_dump, order by columns as > requested and then dump it back in. I would've done it except that > Postgresql won't use the fact that it's sorted. You can create an index on all the columns, do a CLUSTER, then drop the index and create the one you need. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера