From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Lane <slane@moyergroup.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Interpreting query debug output
Date: Tue, 18 May 2004 21:06:43 -0400
Message-ID: <10080.1084928803@sss.pgh.pa.us> (raw)
In-Reply-To: <BCD00982.11773%slane@moyergroup.com>
References: <BCD00982.11773%slane@moyergroup.com>
Steve Lane <slane@moyergroup.com> writes:
> I have a database that is exhibiting sluggishness under load. Suspecting
> that some queries may be poorly optimized, I turned on a fair amount of
> debugging output in the logs. But I could use some help interpreting it.
I think you're going at this all wrong. EXPLAIN ANALYZE should be the
first tool you turn to, not low-level stats. Browsing the archives of
the pgsql-performance mailing list may help you get started.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, slane@moyergroup.com
Subject: Re: Interpreting query debug output
In-Reply-To: <10080.1084928803@sss.pgh.pa.us>
References: <BCD00982.11773%slane@moyergroup.com> <10080.1084928803@sss.pgh.pa.us>
* 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