10 minpresentation

Identifying the N+1 Problem

Identifying the N+1 Problem

0 / 6 completed

What Is the N+1 Problem?

The N+1 problem occurs when your application executes 1 query to fetch a list of items, then N additional queries to fetch related data for each item. If you load 50 parcels, you fire 1 query for the parcel list plus 50 queries for each parcel's sender (customer): 51 total queries instead of 2.

Step 1 of 6
← → NavigateSpace: Skip / NextEnter: Next