Re: High CPU Load

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Jérôme BENOIS <benois(at)argia-engineering(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: High CPU Load
Date: 2006-09-14 14:21:50
Message-ID: 1158243710.24726.12.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)argia-engineering(dot)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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Guillaume Smet 2006-09-14 14:26:10 Re: High CPU Load
Previous Message Joshua Marsh 2006-09-14 14:18:30 Re: Performance With Joins on Large Tables