3 ms·
As a tool to read the output: https://explain.depesz.com/ https://explain.depesz.com/ Not entirely necessary when you're more familiar with it, but still usef
by fabian2k 4y ago
As a tool to read the output:
https://explain.depesz.com/ https://explain.depesz.com/
Not entirely necessary when you're more familiar with it, but still useful. And when starting it's much easier to read.
https://www.depesz.com/tag/unexplainable/ https://www.depesz.com/tag/unexplainable/
This series of blog posts is one option. But my impression is that most of this comes simply with experience. At first the main thing you'd look for is simply whether it uses the indexes you want it to use, or if it does full table scans.
I'd also recommend to simply read the Postgres manual, at least the parts that are not entirely about the syntax of various commands. There is a lot of information in there that will help to understand how Postgres works.
- Strum355 4y agoI personally prefer https://explain.dalibo.com https://explain.dalibo.com over depesz's version, both from a visualization standpoint (I can more clearly see the hierarchy of operations) but also because I've had some not great experiences with depesz the individual. Great blog, but a really soured opinion of him.