Re: High CPU Load
От | Scott Marlowe |
---|---|
Тема | Re: High CPU Load |
Дата | |
Msg-id | 1158243710.24726.12.camel@state.g2switchworks.com обсуждение исходный текст |
Ответ на | Re: High CPU Load (Jérôme BENOIS <benois@argia-engineering.fr>) |
Ответы |
Re: High CPU Load
|
Список | 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 по дате отправления: