Fix N Plus One Queries
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Your blog's home page shows fifty posts with their authors, and the logs show fifty-one database queries for each page view. Explain the N plus one query problem and how you'd fix it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.