Re: Equivalent of mssql profiler? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Equivalent of mssql profiler?
Date
Msg-id 25467.1080324277@sss.pgh.pa.us
Whole thread Raw
In response to Equivalent of mssql profiler?  (Richard Hayward <richard@tortoise.demon.co.uk>)
List pgsql-novice
Richard Hayward <richard@tortoise.demon.co.uk> writes:
> Using MSSQL, I really like the Profiler tool.
> You can watch the SQL statements from all, or a subset of clients
> arrive at the server. I find it usefull to know who is asking what.
> Also when clent apps dont behave as I expect, I can watch the commands
> they issue to faultfind.
> Is there such a tool in PostgreSQL? I've not found one.

You can turn on log_statement and then watch the postmaster log file
(eg, with "tail -f").  I'm not aware of anyone having made a fancy GUI
tool to monitor the log file ... but try poking around in the projects
at gborg.postgresql.org, maybe you'll find something.

            regards, tom lane

pgsql-novice by date:

Previous
From: bob_bamber@hotmail.com (Bob)
Date:
Subject: Re: connect from network PC
Next
From: "Tom Hebbron"
Date:
Subject: Re: How do you do a negative join?