pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Jérôme BENOIS <benois@argia-engineering.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU Load
Date: Thu, 14 Sep 2006 09:21:50 -0500
Message-ID: <1158243710.24726.12.camel@state.g2switchworks.com> (raw)
In-Reply-To: <1158243436.5226.35.camel@localhost.localdomain>
References: <1158239339.5226.17.camel@localhost.localdomain>
	<28868.1158243217@sss.pgh.pa.us>
	<1158243436.5226.35.camel@localhost.localdomain>

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.



view thread (30+ messages)  latest in thread

Message-ID: <1158243710.24726.12.camel@state.g2switchworks.com>
Permalink:  ../1158243710.24726.12.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1158243710.24726.12.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: smarlowe@g2switchworks.com, benois@argia-engineering.fr, tgl@sss.pgh.pa.us
  Subject: Re: High CPU Load
  In-Reply-To: <1158243710.24726.12.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox