From: Matthew Pinhorn <matthew.pinhorn@iona.com>
To: pgsql-admin@postgresql.org
Subject: Tracing used SQL statments
Date: Wed, 25 Jun 2003 15:26:10 -0230
Message-ID: <20030625152610.B28118@iona.com> (raw)
Hello,
I am wondering if somebody can help me. I want to know if there is a
way that I can make some kind of a log file of all of the SQL statements that
are used in my database. It was suggested to make that I could make a trace
of them and I am not sure how to do that.
I have inherited a database from a former co-worker and now I am
starting to get crashes. The crashes has SET TRANSACTION ISOLATION LEVEL
messages in the log file. So I think that there is a lock on the database.
And if I can see the queries that are causing the crash I might be able
to fix the problem.
Thanks
Matthew
--
Matthew Pinhorn E-Mail: mailto:matthew.pinhorn@iona.com
IONA WWW: http://www.orbacus.com
Making Software Work Together (tm) Phone: (709) 738-3725 x 10
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: matthew.pinhorn@iona.com
Subject: Re: Tracing used SQL statments
In-Reply-To: <20030625152610.B28118@iona.com>
References: <20030625152610.B28118@iona.com>
* 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