@@ -83,7 +83,7 @@ that read data which are known to be outside of the hot set. By setting the opti
83
83
to * false* , data read by the query will not make it into the RocksDB block cache if
84
84
not already in there, thus leaving more room for the actual hot set.
85
85
86
- @RESTSTRUCT {maxPlans ,post_api_cursor_opts,integer,optional,int64}
86
+ @RESTSTRUCT {maxNumberOfPlans ,post_api_cursor_opts,integer,optional,int64}
87
87
Limits the maximum number of plans that are created by the AQL query optimizer.
88
88
89
89
@RESTSTRUCT {maxNodesPerCallstack,post_api_cursor_opts,int
8000
eger,optional,int64}
@@ -140,6 +140,45 @@ stores the full result in memory (on the contacted Coordinator if in a cluster).
140
140
All other resources are freed immediately (locks, RocksDB snapshots). The query
141
141
will fail before it returns results in case of a conflict.
142
142
143
+ @RESTSTRUCT {spillOverThresholdMemoryUsage,post_api_cursor_opts,integer,optional,}
144
+ This option allows queries to store intermediate and final results temporarily
145
+ on disk if the amount of memory used (in bytes) exceeds the specified value.
146
+ This is used for decreasing the memory usage during the query execution.
147
+
148
+ This option only has an effect on queries that use the ` SORT ` operation but
149
+ without a ` LIMIT ` , and if you enable the spillover feature by setting a path
150
+ for the directory to store the temporary data in with the
151
+ ` --temp.intermediate-results-path ` startup option.
152
+
153
+ Default value: 128MB.
154
+
155
+ ** Note** :
156
+ Spilling data from RAM onto disk is an experimental feature and is turned off
157
+ by default. The query results are still built up entirely in RAM on Coordinators
158
+ and single servers for non-streaming queries. To avoid the buildup of
159
+ the entire query result in RAM, use a streaming query (see the ` stream ` option).
160
+
161
+ @RESTSTRUCT {spillOverThresholdNumRows,post_api_cursor_opts,integer,optional,}
162
+ This option allows queries to store intermediate and final results temporarily
163
+ on disk if the number of rows produced by the query exceeds the specified value.
164
+ This is used for decreasing the memory usage during the query execution. In a
165
+ query that iterates over a collection that contains documents, each row is a
166
+ document, and in a query that iterates over temporary values
167
+ (i.e. ` FOR i IN 1..100 ` ), each row is one of such temporary values.
168
+
169
+ This option only has an effect on queries that use the ` SORT ` operation but
170
+ without a ` LIMIT ` , and if you enable the spillover feature by setting a path
171
+ for the directory to store the temporary data in with the
172
+ ` --temp.intermediate-results-path ` startup option.
173
+
174
+ Default value: ` 5000000 ` rows.
175
+
176
+ ** Note** :
177
+ Spilling data from RAM onto disk is an experimental feature and is turned off
178
+ by default. The query results are still built up entirely in RAM on Coordinators
179
+ and single servers for non-streaming queries. To avoid the buildup of
180
+ the entire query result in RAM, use a streaming query (see the ` stream ` option).
181
+
143
182
@RESTSTRUCT {optimizer,post_api_cursor_opts,object,optional,post_api_cursor_opts_optimizer}
144
183
Options related to the query optimizer.
145
184
@@ -187,6 +226,18 @@ results by changing the access rights of users on collections.
187
226
188
227
This feature is only available in the Enterprise Edition.
189
228
229
+ @RESTSTRUCT {allowDirtyReads,post_api_cursor_opts,boolean,optional,}
230
+ If you set this option to ` true ` and execute the query against a cluster
231
+ deployment, then the Coordinator is allowed to read from any shard replica and
232
+ not only from the leader.
233
+
234
+ You may observe data inconsistencies (dirty reads) when reading from followers,
235
+ namely obsolete revisions of documents because changes have not yet been
236
+ replicated to the follower, as well as changes to documents before they are
237
+ officially committed on the leader.
238
+
239
+ This feature is only available in the Enterprise Edition.
240
+
190
241
@RESTDESCRIPTION
191
242
The query details include the query string plus optional query options and
192
243
bind parameters. These values need to be passed in a JSON representation in
0 commit comments