Our New Relic query language, NRQL, has rate limits in place for each New Relic organization to ensure that our customers' rate of querying doesn't affect the experience of other customers.
Exceeding query limits
To see if you're hitting query-related limits, use the Limits UI.
You should rarely encounter limits on your NRQL queries. Here are some guidelines to follow to ensure query limiting will be rare:
- Limit the number of complex queries (for example, queries with
TIMESERIESclauses, or queries of over a million events) that run at the same time.
- Limit the number of queries running concurrently over extended periods of time to a maximum of five, especially if they include complex queries.
NRQL query limits
We have limits on:
- How long a query can run before erroring and stopping
- The number of queries you can make in a given time range
Next, we'll go into more detail on these limits.
Query duration limit
The query duration limit is how long a NRQL query can run before it stops running and is considered an error. This limit depends on your data option:
- Original Data option: 1 minute
- Data Plus:
Limits on number of queries
This limit only applies for NRQL queries run via our APIs, and doesn't apply to queries run from the UI.
This limit is 3,000 queries per account per minute. When this limit is exceeded, queries may be rejected until the number of queries no longer exceeds the limit.