Re: Stats for multi-column indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stats for multi-column indexes
Дата
Msg-id 14054.1174404532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Stats for multi-column indexes  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Stats for multi-column indexes  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> It was also suggested that column pairs in FK relationship could be
> automatically enabled.  So you don't need to specify those manually.

Actually, I think you don't particularly need stats for that in most
cases --- if the planner simply took note that the FK relationship
exists, it would know that each row of the FK side joins to exactly
one row of the PK side, which in typical cases is sufficient.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Stats processor not restarting
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Buildfarm feature request: some way to track/classify failures