| От | Tom Lane |
|---|---|
| Тема | Re: Strange Create Index behaviour |
| Дата | |
| Msg-id | 20005.1140040283@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Strange Create Index behaviour (Gary Doades <gpd@gpdnet.co.uk>) |
| Ответы |
Re: Strange Create Index behaviour
|
| Список | pgsql-performance |
Gary Doades <gpd@gpdnet.co.uk> writes:
> Interestingly, if I don't delete the table after a run, but just drop
> and re-create the index repeatedly it stays a pretty consistent time,
> either repeatedly good or repeatedly bad!
This is consistent with the theory of a data-dependent performance
problem in qsort. If you don't generate a fresh set of random test
data, then you get repeatable runtimes. With a new set of test data,
you might or might not hit the not-so-sweet-spot that we seem to have
detected.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера