Re: 7.3.1 New install, large queries are slow

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: 7.3.1 New install, large queries are slow
Дата
Msg-id 1042660391.61110.36.camel@jester
обсуждение исходный текст
Ответ на 7.3.1 New install, large queries are slow  ("Roman Fail" <rfail@posportal.com>)
Список pgsql-performance
I didn't see the query itself in the message, but it looks to me like
it's poorly formed.  Could you send it?

By quick glance, either you're using a bunch of explicit joins that are
poorly formed (you've made a bad choice in order) or those particular
IDs are really popular.  There are a number of sequential scans that
possibly should be index scans.

> EXPLAIN ANALYZE RESULTS:
> Limit  (cost=370518.31..370518.31 rows=1 width=540) (actual time=1168722.18..1168722.20 rows=5 loops=1)
>   ->  Sort  (cost=370518.31..370518.31 rows=1 width=540) (actual time=1168722.18..1168722.18 rows=5 loops=1)
>         Sort Key: b.batchdate

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Вложения

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: 7.3.1 New install, large queries are slow
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: 7.3.1 New install, large queries are slow