Re: Column correlation drifts, index ignored again

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Column correlation drifts, index ignored again
Дата
Msg-id 20484.1077507520@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Column correlation drifts, index ignored again  (John Siracusa <siracusa@mindspring.com>)
Список pgsql-performance
John Siracusa <siracusa@mindspring.com> writes:
> Does the planner get estimates from both plans before deciding whether or
> not to use the one that references the date index?

The rowcount estimate is made prior to the plan cost estimate, much less
the plan selection.  So you'd see the same number either way.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: General performance questions about postgres on Apple
Следующее
От: "Eric Jain"
Дата:
Сообщение: Slow join using network address function