Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group