Coming soon — this article is being prepared. Below are its question, intended outcome, and place in the story.
The question
How can you replace N+1 queries with batching and measure the effect?
What we will work through
Replace N+1 queries with batching and measure the effect.
Before you begin
Previously covered: EXPLAIN and EXPLAIN ANALYZE.