Re: query slows down with more accurate stats

Поиск
Список
Период
Сортировка
От 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  (Manfred Koizar <mkoi-pg@aon.at>)
Список 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 по дате отправления:

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: query slows down with more accurate stats
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PostgreSQL and Linux 2.6 kernel.