| От | Tom Lane |
|---|---|
| Тема | Re: query slows down with more accurate stats |
| Дата | |
| Msg-id | 22642.1082074729@sss.pgh.pa.us обсуждение |
| Ответ на | Re: query slows down with more accurate stats (Manfred Koizar <mkoi-pg@aon.at>) |
| Ответы |
Re: query slows down with more accurate stats
|
| Список | pgsql-performance |
Manfred Koizar <mkoi-pg@aon.at> writes:
> My biggest concern at the moment is that the new sampling method
> violates the contract of returning each possible sample with he same
> probability: getting several tuples from the same page is more likely
> than with the old method.
Hm, are you sure? I recall objecting to your original proposal because
I thought that would happen, but after further thought it seemed not.
Also, I'm not at all sure that the old method satisfies that constraint
completely in the presence of nonuniform numbers of tuples per page,
so we'd not necessarily be going backwards anyhow ...
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера