Re: reading pg_stat_activity view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Usama Dar" <munir(dot)usama(at)gmail(dot)com>
Cc: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>, "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: reading pg_stat_activity view
Date: 2007-12-16 23:57:07
Message-ID: 735.1197849427@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Usama Dar" <munir(dot)usama(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2007-12-17 02:10:30 Re: synonym
Previous Message Scott Marlowe 2007-12-16 23:42:55 Re: sequence owned by backwards compatability