Re: two queries and dual cpu (perplexed)

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: two queries and dual cpu (perplexed)
Дата
Msg-id Pine.LNX.4.58.0504221353370.4231@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: two queries and dual cpu (perplexed)  ("Shoaib Burq (VPAC)" <sab@vpac.org>)
Список pgsql-performance
On Fri, 22 Apr 2005, Shoaib Burq (VPAC) wrote:

> Please see attached the output from explain analyse. This is with the
>
>     shared_buffers = 10600
>     work_mem = 102400
>     enable_seqscan = true
>
> BTW I guess should mention that I am doing the select count(*) on a View.
>
> Ran the Explain analyse with the nestedloop disabled but it was taking
> forever... and killed it after 30mins.

Try increasing stats collection on ClimateChangeModel40.ClimateId:

alter table ClimateChangeModel40 alter column ClimateId set statistics 1000;
analyze ClimateChangeModel40;

Gavin

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: foreign key performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index bloat problem?