Re: Capturing EXPLAIN ANALYZE for a query without discarding the normal result set

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Capturing EXPLAIN ANALYZE for a query without discarding the normal result set
Дата
Msg-id 27998.1389669260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Capturing EXPLAIN ANALYZE for a query without discarding the normal result set  (Dave Cole <davejohncole@gmail.com>)
Ответы Re: Capturing EXPLAIN ANALYZE for a query without discarding the normal result set  (Jim Nasby <jim@nasby.net>)
Список pgsql-hackers
Dave Cole <davejohncole@gmail.com> writes:
> It would be really cool if you could direct the EXPLAIN ANALYZE output to a
> temporary table so that the query being analyzed could execute normally.

What happens if the current transaction rolls back?

If you want noninvasive explain data, contrib/auto_explain offers
a solution right now.  The info goes to the postmaster log, which is
perhaps less convenient than a temp table for interactive use, but
it doesn't have the rollback problem --- and you can capture data
about queries issued by a live application, without hacking the app.
        regards, tom lane



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

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: Capturing EXPLAIN ANALYZE for a query without discarding the normal result set
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: Disallow arrays with non-standard lower bounds