Re: How to force Nested Loop plan?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to force Nested Loop plan?
Дата
Msg-id 10675.1062450197@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to force Nested Loop plan?  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-performance
Ron Johnson <ron.l.johnson@cox.net> writes:
> How about (if you don't already do it) ranked (or approximately
> ranked) b-tree indexes, where each node also stores the (approximate)
> count of tuple pointers under it?
> This way, the planner would know whether or how skewed a tree is,
> and (approximately) how many tuples a given WHERE predicate resolves
> to.

Why is that better than our existing implementation of column statistics?

            regards, tom lane

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: How to force Nested Loop plan?
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Hardware recommendations to scale to silly load