Re: Risk Estimation WAS: Planner hints in Postgresql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Risk Estimation WAS: Planner hints in Postgresql
Дата
Msg-id 4472.1395328870@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Risk Estimation WAS: Planner hints in Postgresql  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Risk Estimation WAS: Planner hints in Postgresql  (Atri Sharma <atri.jiit@gmail.com>)
Список pgsql-hackers
Atri Sharma <atri.jiit@gmail.com> writes:
> Now, why cannot we take the estimate of all the buckets behind the bucket
> in which our value is present? Will that estimate not give us the fraction
> of tuples that are expected to be before the first matching row?

Uh, no, not unless you assume that the table happens to be perfectly
sorted by the column's value.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: Risk Estimation WAS: Planner hints in Postgresql
Следующее
От: Atri Sharma
Дата:
Сообщение: Re: Risk Estimation WAS: Planner hints in Postgresql