pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Hervé Piedvache <footcow@noos.fr>
Cc: pgsql-performance@postgresql.org
Cc: pam@pmg.xs4all.nl
Subject: Re: How can one see what queries are running withing a
Date: Sat, 26 Jun 2004 10:45:57 -0400
Message-ID: <9873.1088261157@sss.pgh.pa.us> (raw)
In-Reply-To: <40DD3AA8.3040708@familyhealth.com.au>
References: <1088192269.6490.3.camel@localhost>
	<200406252251.09228.footcow@noos.fr>
	<200406260927.12812.footcow@noos.fr>
	<40DD3AA8.3040708@familyhealth.com.au>

Christopher Kings-Lynne <chriskl@familyhealth.com.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



view thread (7+ messages)  latest in thread

Message-ID: <9873.1088261157@sss.pgh.pa.us>
Permalink:  ../9873.1088261157@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9873.1088261157@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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chriskl@familyhealth.com.au, footcow@noos.fr, pam@pmg.xs4all.nl
  Subject: Re: How can one see what queries are running withing a
  In-Reply-To: <9873.1088261157@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