pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Usama Dar <munir.usama@gmail.com>
Cc: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: reading pg_stat_activity view
Date: Sun, 16 Dec 2007 18:57:07 -0500
Message-ID: <735.1197849427@sss.pgh.pa.us> (raw)
In-Reply-To: <ff0e67090712161137iacf9abfv41d13b2fe131c6e1@mail.gmail.com>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C03062E18@egcrc-ex01.egcrc.org>
	<dcc563d10712131147h320259bfke93af844a85eefa4@mail.gmail.com>
	<FE44E0D7EAD2ED4BB2165071DB8E328C03062E1A@egcrc-ex01.egcrc.org>
	<dcc563d10712131357g1fbf10e5o1f1b3440a0a71082@mail.gmail.com>
	<FE44E0D7EAD2ED4BB2165071DB8E328C03062E1C@egcrc-ex01.egcrc.org>
	<ff0e67090712161137iacf9abfv41d13b2fe131c6e1@mail.gmail.com>

"Usama Dar" <munir.usama@gmail.com> writes:
> I think it will be a useful feature to add to postgres, for the benefit of
> DBAs, the ability to log slow queries, the queries which take more than x
> amount of time, maybe in a separate slow query log. i am sure it sounds
> familiar to a lot of people ;)

See log_min_duration_statement

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <735.1197849427@sss.pgh.pa.us>
Permalink:  ../735.1197849427@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/735.1197849427@sss.pgh.pa.us

 · 

reply

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, munir.usama@gmail.com, tsakai@gallo.ucsf.edu, scott.marlowe@gmail.com
  Subject: Re: reading pg_stat_activity view
  In-Reply-To: <735.1197849427@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