Re: High CPU Load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx> 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.


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux