Re: 8.4.7, incorrect estimate

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: 8.4.7, incorrect estimate
Дата
Msg-id 4DBE8FD8020000250003D101@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: 8.4.7, incorrect estimate  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Wayne Conrad <wconrad@yagni.com> writes:

>>   Total runtime: 244572.432 ms

> I'll take a look at fixing that, but not sure if it'll be
> reasonable to back-patch or not.  In the meantime, you need to
> look into restructuring the query to avoid nesting the EXISTS
> probes, if possible.

Wayne, I think your best bet at this point may be to just (INNER)
JOIN the three tables, and if there is a possibility of duplicates
to use SELECT DISTINCT.

-Kevin

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: The right SHMMAX and FILE_MAX
Следующее
От: Wayne Conrad
Дата:
Сообщение: Re: 8.4.7, incorrect estimate