Re: Capturing EXPLAIN ANALYZE for a query without discarding the normal result set
В списке pgsql-hackers по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера