Re: Slow query. Any way to speed up?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow query. Any way to speed up?
Дата
Msg-id 18083.1136524077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow query. Any way to speed up?  (Patrick Hatcher <PHatcher@macys.com>)
Ответы Re: Slow query. Any way to speed up?  (Patrick Hatcher <PHatcher@macys.com>)
Список pgsql-performance
Patrick Hatcher <PHatcher@macys.com> writes:
> The following SQL takes 4+ mins to run.  I have indexes on all join fields
> and I've tried rearranging the table orders but haven't had any luck.

Please show EXPLAIN ANALYZE output, not just EXPLAIN.  It's impossible
to tell whether the planner is making any wrong guesses when you can't
see the actual times/rowcounts ...

(BTW, 7.4 is looking pretty long in the tooth.)

            regards, tom lane

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Help in avoiding a query 'Warm-Up' period/shared buffer
Следующее
От: "Andy"
Дата:
Сообщение: Re: Improving Inner Join Performance