From: George Essig <george.essig@gmail.com>
To: Dan Harris <fbsd@drivefaster.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: investigating slow queries through pg_stat_activity
Date: Mon, 20 Jun 2005 15:30:38 -0500
Message-ID: <6744b38505062013302b4f1864@mail.gmail.com> (raw)
In-Reply-To: <0B5C29FA-E949-447E-AEFE-A806E238F1C2@drivefaster.net>
References: <0B5C29FA-E949-447E-AEFE-A806E238F1C2@drivefaster.net>
On 6/20/05, Dan Harris <fbsd@drivefaster.net> wrote:
> Also, I'm sure some people will respond with "turn on query
> logging".. I've explored that option and the formatting of the log
> file and the fact that EVERY query is logged is not what I'm after
> for this project.
You don't have to log every query. You can set
log_min_duration_statement in postgresql.conf to log only the queries
that exceed a certain amount of time.
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: george.essig@gmail.com, fbsd@drivefaster.net
Subject: Re: investigating slow queries through pg_stat_activity
In-Reply-To: <6744b38505062013302b4f1864@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