# Single-stage query engine (v1)

The Pinot single-stage query engine (v1) 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.1.0/reference/multi-stage-engine) may be a more performant option.

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