Re: slow joining very large table to smaller ones

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: slow joining very large table to smaller ones
Дата
Msg-id 5708.1121383802@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: slow joining very large table to smaller ones  (John A Meinel <john@arbash-meinel.com>)
Ответы Re: slow joining very large table to smaller ones  (John A Meinel <john@arbash-meinel.com>)
Список pgsql-performance
John A Meinel <john@arbash-meinel.com> writes:
> What I don't understand is that the planner is actually estimating that
> joining against the new table is going to *increase* the number of
> returned rows.

It evidently thinks that incidentid in the k_r table is pretty
nonunique.  We really need to look at the statistics data to
see what's going on.

            regards, tom lane

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

Предыдущее
От: John A Meinel
Дата:
Сообщение: Re: slow joining very large table to smaller ones
Следующее
От: John A Meinel
Дата:
Сообщение: Re: slow joining very large table to smaller ones