Re: Poor Plan selected w/ not provided a date/time but selecting date/time from a table

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Poor Plan selected w/ not provided a date/time but selecting date/time from a table
Дата
Msg-id 4716646E.30809@archonet.com
обсуждение исходный текст
Ответ на Poor Plan selected w/ not provided a date/time but selecting date/time from a table  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
Ответы Re: Poor Plan selected w/ not provided a date/time but selecting date/time from a table  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
Список pgsql-general
Ow Mun Heng wrote:
> Query2 is way faster mainly because the plan does not choose a seq scan
> on a table w/ >20million rows.
> The only difference between Query 1 and query 2 is that the
> audio_key_dtime is chosen from a table rather than provided on the
> query.
>
> I'm not sure why this is the case and why it chooses such plans.
> (should I be posting to pg-performance?)

Your query plans don't seem to match your queries. That makes it
difficult to provide meaningful advice.


--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Josh Trutwin
Дата:
Сообщение: Re: Array intersection
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Array intersection