Re: That EXPLAIN ANALYZE patch still needs work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: That EXPLAIN ANALYZE patch still needs work
Дата
Msg-id 10039.1149864988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: That EXPLAIN ANALYZE patch still needs work  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: That EXPLAIN ANALYZE patch still needs work
Re: That EXPLAIN ANALYZE patch still needs work
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> I propose we revert the sampling patch (sorry Martijn)

yah ...

> and go with the
> patch to have an explain_analyze_timing parameter (default=on).

This I'm unexcited about.  EXPLAIN output isn't all that transparent
anyway, and losing the extra cue of seeing where the time is really
going would make it extremely easy for people to misinterpret their
problems.

I was intending to push forward with the idea of being able to get
numbers out of a canceled EXPLAIN.  That will allow you to get some
information even when the underlying query runs longer than you're
willing to tolerate.  I still say that the number of queries where
avoiding gettimeofday overhead would transform an intolerable runtime
into a tolerable one is pretty limited.

The other thing that I think would be worth investigating is
timer-driven sampling, although it's not yet clear whether we can
make that work usefully.  Anyone want to take up that project?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Mark Cave-Ayland"
Дата:
Сообщение: Re: Proposal for debugging of server-side stored procedures
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: That EXPLAIN ANALYZE patch still needs work