Re: two queries and dual cpu (perplexed) - Mailing list pgsql-performance

From Gavin Sherry
Subject Re: two queries and dual cpu (perplexed)
Date
Msg-id Pine.LNX.4.58.0504221353370.4231@linuxworld.com.au
Whole thread Raw
In response to Re: two queries and dual cpu (perplexed)  ("Shoaib Burq (VPAC)" <sab@vpac.org>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: foreign key performance
Next
From: Tom Lane
Date:
Subject: Re: Index bloat problem?