Re: Query progress indication - an implementation - Mailing list pgsql-hackers

From Peter Hunsberger
Subject Re: Query progress indication - an implementation
Date
Msg-id cc159a4a0906291155p3f8232a6n8e18a439fa648784@mail.gmail.com
Whole thread Raw
In response to Re: Query progress indication - an implementation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jun 29, 2009 at 1:07 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> So, while an actual % completed indicator would be perfect, a "query
>> steps completed, current step =" would still be very useful and a large
>> improvement over what we have now.
>
> I think this is pretty much nonsense --- most queries run all their plan
> nodes concurrently to some extent.  You can't usefully say that a query
> is "on" some node, nor measure progress by whether some node is "done".

What you get in Toad for Oracle is the ability to see long running
processes with multiple lines, one per process currently underway. If
I recall correctly, the returned information includes what operation
is underway (eg, physical reads), the % complete, start time, time
remaining and elapsed time.  Time remaining has been mostly useless
every time I've had to drill down to this level, but otherwise this
has been relatively useful information.

--
Peter Hunsberger


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pre-proposal: permissions made easier
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] [v8.5] Security checks on largeobjects