From: Michael Fuhr <mike@fuhr.org>
To: Doug Y <dylists@ptd.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems monitoring DB activity
Date: Fri, 8 Oct 2004 09:14:42 -0600
Message-ID: <20041008151441.GA60493@winnie.fuhr.org> (raw)
In-Reply-To: <4166A860.4080607@ptd.net>
References: <41669C00.2030209@ptd.net>
<20041008141129.GA60199@winnie.fuhr.org>
<4166A860.4080607@ptd.net>
On Fri, Oct 08, 2004 at 10:46:56AM -0400, Doug Y wrote:
> Michael Fuhr wrote:
> >
> >Does postgresql.conf have stats_command_string = true?
> >
> Thanks, setting that did the trick.... whats the performance hit for
> having it enabled?
I haven't done any tests to determine the performance penalty; maybe
one of the developers or somebody who's done some benchmarks can
comment.
The "Annotated postgresql.conf and Global User Configuration (GUC)
Guide"[1] says that "Enabling statistics collection costs a small
amount of time per query, but is invaluable for debugging and
performance tuning."
[1] http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.html
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: mike@fuhr.org, dylists@ptd.net
Subject: Re: Problems monitoring DB activity
In-Reply-To: <20041008151441.GA60493@winnie.fuhr.org>
References: <41669C00.2030209@ptd.net> <20041008141129.GA60199@winnie.fuhr.org> <4166A860.4080607@ptd.net> <20041008151441.GA60493@winnie.fuhr.org>
* 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