“EXPLAIN is a really nice command that gives you lots of informations but it’s often easy to not know what to do with all this. That’s quite unfortunate because there isn’t much to know in it. That’s what this whole talk is about: get a nice understanding of the informations given by this command, know how to use this information, and fix your queries so that they work faster.”, sayd Guillaume Lelarge.
If you ask yourself: “Why does it take so much time to execute a query? Why are there no indexes?”, you should look at the following articles:
Chances are you’ve heard about EXPLAIN in PostgreSQL. However, there are still many people who have no idea how to use it. Hopefully these articles will help you tackle with this great tool.
All three articles are based on Guillaume Lelarge’s work, so for deeper understanding of the issue, look at the original source: