| От | Bruce Momjian |
|---|---|
| Тема | Re: [SQL] Optimizing ORDER BY with indexes? |
| Дата | |
| Msg-id | 200001141637.LAA01122@candle.pha.pa.us обсуждение |
| Ответ на | Re: [SQL] Optimizing ORDER BY with indexes? (Dirk Lutzebaeck <lutzeb@aeccom.com>) |
| Список | pgsql-sql |
> Dirk Lutzebaeck writes: > > > > I'm forced to used ORDER BY on large tables which then takes quite > > long. Is there a chance to create/optimize an index for ORDER BY? > > Or could I write an index method on my own? How would it look like? > > > > Are there any other possiblities to speed up ORDER BY? > > Reading about indexes in the Bowman SQL book I think a > _clustered index_ is needed for the problem above. > Does Postgresql support these? > CLUSTER command. -- Bruce Momjian | http://www.op.net/~candle 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, Pennsylvania19026
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера