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

Re: How can one see what queries are running withing a

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hervé Piedvache <footcow(at)noos(dot)fr>,pgsql-performance(at)postgresql(dot)org, pam(at)pmg(dot)xs4all(dot)nl
Subject: Re: How can one see what queries are running withing a
Date: 2004-06-26 14:45:57
Message-ID: 9873.1088261157@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Even easier:
> SELECT * FROM pg_stat_activity;

But note you must enable stats_command_string to make this very useful.

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Chris ChestonDate: 2004-06-26 23:03:19
Subject: Re: postgres 7.4 at 100%
Previous:From: Joshua D. DrakeDate: 2004-06-26 14:11:49
Subject: Re: postgres 7.4 at 100%

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