This repository was archived by the owner on Dec 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ The following hard-coded limitations exist for AQL queries:
1212 internal/anonymous query variables, e.g. for intermediate results.
1313 Subqueries also require result registers.
1414- An AQL query cannot have more than _ 4000_ execution nodes in its initial
15- query execution plan.
15+ query execution plan. This number includes all execution nodes of the
16+ initial execution plan, even if some of them could be
17+ optimized away later by the query optimizer during plan optimization.
1618- An AQL query cannot use more than _ 2048_ collections/shards.
1719- Expressions in AQL queries cannot have a nesting of more than _ 500_ levels.
1820 As an example, the expression ` 1 + 2 + 3 + 4 ` is 3 levels deep
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ The following hard-coded limitations exist for AQL queries:
1212 internal/anonymous query variables, e.g. for intermediate results.
1313 Subqueries also require result registers.
1414- An AQL query cannot have more than _ 4000_ execution nodes in its initial
15- query execution plan.
15+ query execution plan. This number includes all execution nodes of the
16+ initial execution plan, even if some of them could be
17+ optimized away later by the query optimizer during plan optimization.
1618- An AQL query cannot use more than _ 2048_ collections/shards.
1719- Expressions in AQL queries cannot have a nesting of more than _ 500_ levels.
1820 As an example, the expression ` 1 + 2 + 3 + 4 ` is 3 levels deep
Original file line number Diff line number Diff line change @@ -297,7 +297,13 @@ The following limits have been introduced:
297297 The expression recursion is limited to 500 levels.
298298- a limit for the number of execution nodes in the initial query
299299 execution plan.
300- The number of execution nodes is limited to 4,000.
300+ The number of execution nodes in the initial query execution plan is
301+ limited to 4000. This number includes all execution nodes of the
302+ initial execution plan, even if some of them could be
303+ optimized away later by the query optimizer during plan optimization.
304+
305+ AQL queries that violate these limits will fail to run, and instead abort
306+ with error ` 1524 ` ("too much nesting or too many objects") during setup.
301307
302308### RocksDB block cache control
303309
Original file line number Diff line number Diff line change @@ -74,7 +74,13 @@ The following limits have been added:
7474 is 3 levels deep ` 1 + (2 + (3 + 4)) ` .
7575 The recursion of expressions is limited to 500 levels.
7676- a limit for the number of execution nodes in the initial query
77- execution plan. The number of execution nodes is limited to 4,000.
77+ execution plan. The number of execution nodes is limited to 4000.
78+ This number includes all execution nodes of the initial execution plan,
79+ even if some of them could be optimized away later by the
80+ query optimizer during plan optimization.
81+
82+ AQL queries that violate these limits will fail to run, and instead abort
83+ with error ` 1524 ` ("too much nesting or too many objects") during setup.
7884
7985Also see [ Known limitations for AQL queries] ( aql/fundamentals-limitations.html ) .
8086
You can’t perform that action at this time.
0 commit comments