Re: slow query performance

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: slow query performance
Дата
Msg-id AANLkTilaSzbOcehwuWtA3FPunLgGwqHZUh9bu5VBuuBX@mail.gmail.com
обсуждение исходный текст
Ответ на Re: slow query performance  (Anj Adu <fotographs@gmail.com>)
Ответы Re: slow query performance  (Anj Adu <fotographs@gmail.com>)
Список pgsql-performance
On Wed, Jun 9, 2010 at 11:17 PM, Anj Adu <fotographs@gmail.com> wrote:
> The plan is unaltered . There is a separate index on theDate as well
> as one on node_id
>
> I have not specifically disabled sequential scans.

Please do "SHOW ALL" and attach the results as a text file.

> This query performs much better on 8.1.9 on a similar sized
> table.(althought the random_page_cost=4 on 8.1.9 and 2 on 8.4.0 )

Well that could certainly matter...

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: AI Rumman
Дата:
Сообщение: Re: query hangs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Large (almost 50%!) performance drop after upgrading to 8.4.4?