|
|
|
|
|
by eyelidlessness
1844 days ago
|
|
I've found Postgres EXPLAIN output completely unhelpful for as long as I've been using Postgres, and... this article didn't help. > Find the lowest node where the estimated row count is significantly different from the actual row count. > ... > Under the heading “rows x” you see by what factor PostgreSQL overestimated or underestimated the row count. Bad estimates are highlighted with a red background. Am I missing something? Everything actually shown displays identical row count estimates/actual, and red/yellow/orange associated with accurate estimates. What am I not seeing?? |
|
For an intro to this that goes through several examples, I highly recommend a conference talk[1] by Josh Berkus in 2015/16 that he gave a few times. It has aged pretty well and I’ve not yet seen the basics covered better.
[1]: https://youtu.be/mCwwFAl1pBU