Re: High CPU Load - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: High CPU Load
Date
Msg-id 1158243710.24726.12.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: High CPU Load  (Jérôme BENOIS <benois@argia-engineering.fr>)
Responses Re: High CPU Load
List pgsql-performance
On Thu, 2006-09-14 at 09:17, Jérôme BENOIS wrote:
> Hi Tom,
>
> Le jeudi 14 septembre 2006 à 10:13 -0400, Tom Lane a écrit :
> > =?ISO-8859-1?Q?J=E9r=F4me?= BENOIS <benois@argia-engineering.fr> writes:
> > >    I migrated Postgres server from 7.4.6 to 8.1.4, But my server is
> > > completely full, by moment load average > 40
> >
> > Did you remember to ANALYZE the whole database after reloading it?
> > pg_dump/reload won't by itself regenerate statistics.
> >
> >             regards, tom lane
> I tested, dump + restore + vaccumdb --analyze on all databases but no change ...


OK, set your db to log queries that take more than a few seconds to
run.  Execute those queries by hand with an explain analyze in front and
post the output here.

pgsql-performance by date:

Previous
From: "Joshua Marsh"
Date:
Subject: Re: Performance With Joins on Large Tables
Next
From: "Guillaume Smet"
Date:
Subject: Re: High CPU Load