# Query options, quotas, cancellation & cursors

Use this section when the query already works and you need to control how it runs, how it is tracked, or how results are paginated.

The pages here cover the main runtime controls:

* [Query options](/build-with-pinot/querying-and-sql/query-execution-controls/query-options.md)
* [Query quotas](/build-with-pinot/querying-and-sql/query-execution-controls/query-quotas.md)
* [Query cancellation](/build-with-pinot/querying-and-sql/query-execution-controls/query-cancellation.md)
* [Cursor pagination](/build-with-pinot/querying-and-sql/query-execution-controls/query-using-cursors.md)
* [Correlation IDs](/build-with-pinot/querying-and-sql/query-execution-controls/query-correlation-id.md)
* [Explain plan](/build-with-pinot/querying-and-sql/query-execution-controls/explain-plan.md)
* [Multi-stage explain plan](/build-with-pinot/querying-and-sql/query-execution-controls/explain-plan-multi-stage.md)

## How to use this section

Start with query options when you need to change a single query.

Move to quotas when you need to control query rate at the table, database, or application level.

Use cancellation and correlation IDs together when you need to track or stop a running query.

Use cursor pagination when the result set is too large to return in one response.

Use explain plan when you need to understand engine behavior or index usage.

Use the multi-stage explain plan page when the query depends on joins, subqueries, or other advanced SQL features.

## What this page covered

This page summarized the query-control pages and explained when to use each one.

## Next step

Open [Query options](/build-with-pinot/querying-and-sql/query-execution-controls/query-options.md) if you need to tune a query, or [Explain plan](/build-with-pinot/querying-and-sql/query-execution-controls/explain-plan.md) if you need to debug how Pinot will execute it.

## Related pages

* [Querying Pinot](/build-with-pinot/querying-and-sql/querying-pinot.md)
* [SQL syntax](/build-with-pinot/querying-and-sql/sql-syntax.md)
* [Query options](/build-with-pinot/querying-and-sql/query-execution-controls/query-options.md)
* [Query quotas](/build-with-pinot/querying-and-sql/query-execution-controls/query-quotas.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pinot.apache.org/build-with-pinot/querying-and-sql/query-execution-controls.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
