From: Doug Y <dylists@ptd.net>
To: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems monitoring DB activity
Date: Fri, 08 Oct 2004 10:46:56 -0400
Message-ID: <4166A860.4080607@ptd.net> (raw)
In-Reply-To: <20041008141129.GA60199@winnie.fuhr.org>
References: <41669C00.2030209@ptd.net>
<20041008141129.GA60199@winnie.fuhr.org>
Michael Fuhr wrote:
>On Fri, Oct 08, 2004 at 09:54:08AM -0400, Doug Y wrote:
>
>
>>SELECT * FROM pg_catalog.pg_stat_activity;
>>
>>The current_query and query_start columns are always empty. Obviously
>>this makes it hard to monitor problems with the various admin tools, etc.
>>
>>
>
>Does postgresql.conf have stats_command_string = true?
>
Thanks, setting that did the trick.... whats the performance hit for
having it enabled?
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: dylists@ptd.net, mike@fuhr.org
Subject: Re: Problems monitoring DB activity
In-Reply-To: <4166A860.4080607@ptd.net>
References: <41669C00.2030209@ptd.net> <20041008141129.GA60199@winnie.fuhr.org> <4166A860.4080607@ptd.net>
* 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