Re: Query progress indication - an implementation

Поиск
Список
Период
Сортировка
От Peter Hunsberger
Тема Re: Query progress indication - an implementation
Дата
Msg-id cc159a4a0906291155p3f8232a6n8e18a439fa648784@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query progress indication - an implementation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pre-proposal: permissions made easier
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] [v8.5] Security checks on largeobjects