darold / pgbadger

A fast PostgreSQL Log Analyzer
http://pgbadger.darold.net/
PostgreSQL License
3.49k stars 349 forks source link

Is it possible to extract Query Plans generated by auto_explain? #771

Closed rdnkrkmz closed 1 year ago

rdnkrkmz commented 1 year ago

In our environment, we use auto_explain to see query plans. Plans are logged in postgressql.log file. We want to extact this query plans via pgBadger, if it is possible. Later on for examining. There may be new tab or link in the report.

gleu commented 1 year ago

pgBadger already does that.

darold commented 1 year ago

Right, auto_explain plan in log file are automatically detected by pgbadger. You will also have a link in the report to see the explain plan on Explain Depesz web site.

rdnkrkmz commented 1 year ago

It is great. So, where the plans are located?

darold commented 1 year ago

In the Top queries reports through the Examples button if I recall well.

rdnkrkmz commented 1 year ago

Yes, see them in report, in the examples section. Thank you very much for your guidane.