Re: Is there value in having optimizer stats for joins/foreignkeys?

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Is there value in having optimizer stats for joins/foreignkeys?
Дата
Msg-id CADkLM=fEi_GeeS3zyg6B5WgswyPe0wNXHfKQOxjy8A5fXHD7=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is there value in having optimizer stats for joins/foreignkeys?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Is there value in having optimizer stats for joins/foreignkeys?
Список pgsql-hackers

Yeah, I think that automated choices about this are unlikely to work
well.  We chose the syntax for CREATE STATISTICS with an eye to
allowing users to declaratively tell us to collect stats about
specific joins, and I still think that's a more promising approach.
But nobody's yet worked out any details.


Per other response, no, I didn't envision stats on all possible joins or even all possible foreign keys, just the ones we declare as interesting, and even then only for the attributes that we say are interesting on the far side of the join. 

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