In plain words

The N+1 query problem in plain words

The N+1 problem is when code runs one query to fetch a list, then one more query for every item in that list. A page showing fifty orders runs fifty-one queries where two would do. It is one of the most common reasons a page is slow.

Last updated November 20, 2026