| Option | AST_DEPTH_LIMIT | |
| Description | Limits the depth/complexity of a query | |
| Removed in Version | 1.164 | |
| Default | 1,900 rows | |
This parameter sets a limit to queries' depth as a mitigation against overly large queries that would cause performance issues, excessive resource consumption, or system instability.
This parameter is one of several query limitation parameters,
such as CORRELATE_QUERY_LIMIT,
DEFAULT_GRAPHQUERY_ITERATION_LIMIT, and
AGGREGATOR_OUTPUT_ROW_LIMIT, that work together
to prevent performance issues.