| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] Index creation takes for ever |
| Дата | |
| Msg-id | 15324.1070254626@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCHES] Index creation takes for ever (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: [PATCHES] Index creation takes for ever
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> If qsort is to blame, then maybe this patch could help. It sorts
>> equal key values on item pointer. And if it doesn't help index
>> creation speed, at least the resulting index has better correlation.
> I will try to apply it within the next 48 hours.
I think this is a *very* dubious idea. It introduces a low-level
implementation dependency into our sort behavior on the strength of no
more than an unfounded speculation that some platform's broken qsort
might run faster. Even if the speculation were proven true, I'd be
hesistant to apply it.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера