From: | Andrew Sullivan <ajs(at)crankycanuck(dot)ca> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Trace for postgreSQL |
Date: | 2004-02-17 13:35:27 |
Message-ID: | 20040217133527.GF6363@phlogiston.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tue, Feb 10, 2004 at 12:04:42PM +0000, beyaNet Consultancy wrote:
> Hi,
> can anyone tell me whether there is a trace facility (application)
> available for postgreSQL version 7.4.1 which will enable me to see all
> incoming requests being made to the database (ala SQL Server)?
Sure. Alter your configuration to echo queries, and then watch your
log file. Alternatively, you can enable the command string
statistics function, and then you get the queries in near to real
time in pg_stat_activity.
A
--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The plural of anecdote is not data.
--Roger Brinner
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2004-02-17 14:41:45 | Re: Unique Constraint with foreign Key |
Previous Message | Karsten Hilbert | 2004-02-17 09:08:41 | Re: Tip: a function for creating a remote view using dblink |