From: Guillaume Smet <guillaume.smet@gmail.com>
To: Jérôme BENOIS <benois@argia-engineering.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU Load
Date: Thu, 14 Sep 2006 15:46:32 +0200
Message-ID: <1d4e0c10609140646g6ad1ab4w51dec49afba11fd7@mail.gmail.com> (raw)
In-Reply-To: <1158239339.5226.17.camel@localhost.localdomain>
References: <1158239339.5226.17.camel@localhost.localdomain>
On 9/14/06, Jérôme BENOIS <benois@argia-engineering.fr> wrote:
> I migrated Postgres server from 7.4.6 to 8.1.4, But my server is
> completely full, by moment load average > 40
> All queries analyzed by EXPLAIN, all indexes are used .. IO is good ...
What is the bottleneck? Are you CPU bound? Do you have iowait? Do you
swap? Any weird things in vmstat output?
> My configuration is correct ?
> work_mem = 65536
If you have a lot of concurrent queries, it's probably far too much.
That said, if you don't swap, it's probably not the problem.
--
Guillaume
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: guillaume.smet@gmail.com, benois@argia-engineering.fr
Subject: Re: High CPU Load
In-Reply-To: <1d4e0c10609140646g6ad1ab4w51dec49afba11fd7@mail.gmail.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