Live data from Hacker News

PostgreSQL's Explain Analyze Made Readable

explain.depesz.com

1–10 of 62 posts

Re: PostgreSQL's Explain Analyze Made Readable

#5

Kind of need to see an example...

There is a History tab with examples, such as: https://explain.depesz.com/s/vzlS

This is an indispensable tool for Postgres query plan analysis. Even for those who are experienced at reading them, this can help to sort problems.

It's also a great way to share query plans when asking for help from the Postgres community.

Re: PostgreSQL's Explain Analyze Made Readable

#7
This is one of my go-to sites for optimizing Postgres queries. While all the information is available in the text output there's something nice about the site highlighting the rows scanned for the bad parts of the queries in a dark red ;)

My only nits - it's kind of annoying to have to click a checkbox to make sure my analysis is not public and to keep the window open so I can delete it after I'm done.

Re: PostgreSQL's Explain Analyze Made Readable

#8
In the "possibly unknown Postgres tools" category, I'm also a huge fan of PG Hero [0]. Gives you a nice sortable UI to look at running queries, see what the longest ones are, the most frequently called, etc. This is all just reading from pg_stats and such but the UI is very nice.

[0] https://github.com/ankane/pghero

Post reply on HN