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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-performance by date

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