Re: Use "average field correlation per hard disk page" instead of global one?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Use "average field correlation per hard disk page" instead of global one? |
| Дата | |
| Msg-id | 2610.1078895303@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Use "average field correlation per hard disk page" instead of global one? (Alexey Nalbat <alexey@price.ru>) |
| Ответы |
Re: Use "average field correlation per hard disk
|
| Список | pgsql-hackers |
Alexey Nalbat <alexey@price.ru> writes:
> Due to the updating algorithm the physical order of tuples in the
> table happens to be such that all equal keys are placed together,
> but not ordered globally.
Hmm... this is of course a weak spot of the correlation-based estimation
method. If you were doing a range query then the computed correlation
might have some bearing on the cost, but when probing for a single key
value, your table will behave much differently than the correlation model
can guess.
> Are there any better ideas?
None at the moment, but I'm open to suggestions. It seems like we might
need different stats for equality probes than range probes.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера