> For the complete documentation index, see [llms.txt](https://docs.digma.ai/digma-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digma.ai/digma-developer-guide/digma-features/insights/suspected-n+1.md).

# Suspected N+1

<figure><img src="/files/QNgSZBGaDqk0sCd6EOxf" alt=""><figcaption></figcaption></figure>

### Description

N+1 Select are numerous SELECT queries often caused by ORM models. They can be resolved by eager loading relationships or using JOIN expressions. These selects are often more costly in production where the database roundtrip time is longer.

### Thresholds&#x20;

The default threshold is an N of af at least `5` select queries on a relationship.
