From: patrick hoogendijk <patrick@safepoint.nl>
To: pgsql-admin@postgresql.org
Subject: Is there a way to check execution progress of a query?
Date: Wed, 09 Nov 2005 13:56:01 +0100
Message-ID: <1131540961.10015.34.camel@sol.office.safepoint.nl> (raw)
Hi,
Some of the queries I run on my Postgresql database take some time to
complete (1 hour+).
I know you can get the active queries by 'select * from
pg_stat_activity', but I was wondering if there is a way to see some
information on the progress of the query execution while running (for
example the number of updated records , read records).
TIA,
Patrick
--
------------------------------------------------------------
Patrick Hoogendijk
Safepoint Internet Services
curacaolaan 144
3131 XG Vlaardingen
http://www.safepoint.nl
tel: +31 (0)10 4340044
fax: +31 (0)10 4340032
------------------------------------------------------------
"Walking on water and meeting requirements are both equally easy to do
when both are frozen."
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: patrick@safepoint.nl
Subject: Re: Is there a way to check execution progress of a query?
In-Reply-To: <1131540961.10015.34.camel@sol.office.safepoint.nl>
References: <1131540961.10015.34.camel@sol.office.safepoint.nl>
* 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