Re: Strangely Variable Query Performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strangely Variable Query Performance
Дата
Msg-id 5772.1176413092@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Ответы Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Список pgsql-performance
Steve <cheetah@tanabi.org> writes:
> On a Postgres 8.2.3 server, I've got a query that is running very slow in
> some cases.

Could we see the exact definition of that table and its indexes?
It looks like the planner is missing the bitmap scan for some reason,
but I've not seen a case like that before.

Also, I assume the restriction on receipt date is very nonselective?
It doesn't seem to have changed the estimated rowcount much.

            regards, tom lane

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

Предыдущее
От: Steve
Дата:
Сообщение: Strangely Variable Query Performance
Следующее
От: Steve
Дата:
Сообщение: Re: Strangely Variable Query Performance