Re: An "obvious" index not being used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: An "obvious" index not being used
Дата
Msg-id 24818.1216529087@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: An "obvious" index not being used  (Daniele Varrazzo <piro@develer.com>)
Ответы Re: An "obvious" index not being used  (Daniele Varrazzo <piro@develer.com>)
Список pgsql-performance
Daniele Varrazzo <piro@develer.com> writes:
> In my problem I had 2 tables: a small one (accounts), a large one (foo). The
> way the query is written doesn't allow the stats from the large table to be
> used at all, unless the records from the small table are fetched. This is
> independent from the stats accuracy.

> What the planner does is to assume an even distribution in the data in the
> joined fields.

Sir, you don't know what you're talking about.

            regards, tom lane

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: An "obvious" index not being used
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: An "obvious" index not being used