# Single-stage query engine (v1)

The Pinot single-stage query engine (also known as v1 query engine) uses a scatter-gather query engine model, shown in the following diagram. In certain cases, for example, if you need to query using JOINs on large data sets, the [multi-stage query engine (v2)](https://docs.pinot.apache.org/release-1.4.0/reference/multi-stage-engine) may be a more performant option.

<figure><img src="https://content.gitbook.com/content/ty6SYllypxp3MTxsZRrb/blobs/kEqcm3cPBnsR11aAY90R/Multi-Stage-Pinot-Query-Engine-v1.png" alt=""><figcaption><p>Single-stage query engine (v1)</p></figcaption></figure>
