From: Dave Dutcher <dave@tridecap.com>
To: 'Willo van der Merwe' <willo@studentvillage.co.za>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL performance issues
Date: Wed, 30 Aug 2006 09:03:01 -0500
Message-ID: <007501c6cc3d$01e1e290$8300a8c0@tridecap.com> (raw)
In-Reply-To: <44F58EC9.9090703@studentvillage.co.za>
That's an interesting situation. Your CPU's are pegged, and you're hardly
doing any IO. I wonder if there is some ineficient query, or if its just
very high query volume. Maybe you could try setting
log_min_duration_statement to try to track down the slowest of the queries.
Then post the slow queries with an explain analyze to the list.
Here is some info on setting up logging:
http://www.postgresql.org/docs/8.1/interactive/runtime-config-logging.html
Are your queries standard SQL or do you call functions you wrote in PL/pgSQl
or PL/Python or anything?
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: dave@tridecap.com, willo@studentvillage.co.za
Subject: Re: PostgreSQL performance issues
In-Reply-To: <007501c6cc3d$01e1e290$8300a8c0@tridecap.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