---
title: "N+1 queries and batch loading"
description: "How can you replace N+1 queries with batching and measure the effect?"
status: "coming-soon"
language: "en"
canonical: "https://bulnik.dev/en/articles/topics/T40.06/"
topicId: "T40.06"
---

> 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.

- [EXPLAIN and EXPLAIN ANALYZE](/en/articles/topics/T40.01/)
