Re: Problems monitoring DB activity

From: "Goulet, Dick" <DGoulet(at)vicr(dot)com>
To: "Michael Fuhr" <mike(at)fuhr(dot)org>, "Doug Y" <dylists(at)ptd(dot)net>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Problems monitoring DB activity
Date: 2004-10-08 15:50:42
Message-ID: 4001DEAF7DF9BD498B58B45051FBEA6501B9D845@25exch1.vicorpower.vicr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sounds like the Oracle parameter TIMED_STATISTICS. Costs you soo little
in performance, but saves you a pile in troubleshooting. Many DBA's
still set it to false to "save the expense". Nice to know the same
exists here.

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA
-----Original Message-----
From: Michael Fuhr [mailto:mike(at)fuhr(dot)org]
Sent: Friday, October 08, 2004 11:15 AM
To: Doug Y
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Problems monitoring DB activity

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/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2004-10-08 16:19:52 Re: [DOCS] windows docs?
Previous Message Michael Fuhr 2004-10-08 15:14:42 Re: Problems monitoring DB activity