From c453b42ebf7d29a7cdbea0a4d98dad3eafa87f5a Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Fri, 31 Mar 2023 16:59:47 +0200 Subject: [PATCH 1/2] DOC-394 | peakMemoryUsage for running and slow queries --- 3.11/release-notes-api-changes311.md | 5 +++++ 3.11/release-notes-new-features311.md | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/3.11/release-notes-api-changes311.md b/3.11/release-notes-api-changes311.md index f1cdc78ab9..1da0a68187 100644 --- a/3.11/release-notes-api-changes311.md +++ b/3.11/release-notes-api-changes311.md @@ -115,6 +115,11 @@ Enterprise Edition: Like the existing `geojson` Analyzer, but with an additional `format` property that can be set to `"latLngDouble"` (default), `"latLngInt"`, or `"s2Point"`. +#### Query API + +The `GET /_api/query/current` and `GET /_api/query/slow` endpoints include a +new numeric `peakMemoryUsage` attribute. + ### Endpoints moved diff --git a/3.11/release-notes-new-features311.md b/3.11/release-notes-new-features311.md index 15ad86c8ee..004f883190 100644 --- a/3.11/release-notes-new-features311.md +++ b/3.11/release-notes-new-features311.md @@ -88,6 +88,17 @@ example query, but you can also specify your preferred method explicitly. See the [`COLLECT` options](aql/operations-collect.html#method) for details. +### Extended peak memory usage reporting + +The peak memory usage of AQL queries is now also reported for running queries +and slow queries. + +In the web interface, you can find the **Peak memory usage** column in the +**QUERIES** section, in the **Running Queries** and **Slow Query History** tabs. + +In the JavaScript and HTTP APIs, the value is reported as `peakMemoryUsage`. +See [API Changes in ArangoDB 3.11](release-notes-api-changes311.html#query-api). + ## Server options ### Verify `.sst` files From ea75a68840e6e861b9a6c08d5cb719a22e021aaa Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Wed, 5 Apr 2023 14:06:36 +0200 Subject: [PATCH 2/2] Add links --- 3.11/release-notes-api-changes311.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/3.11/release-notes-api-changes311.md b/3.11/release-notes-api-changes311.md index 1da0a68187..b1b4989492 100644 --- a/3.11/release-notes-api-changes311.md +++ b/3.11/release-notes-api-changes311.md @@ -117,8 +117,9 @@ Enterprise Edition: #### Query API -The `GET /_api/query/current` and `GET /_api/query/slow` endpoints include a -new numeric `peakMemoryUsage` attribute. +The [`GET /_api/query/current`](http/aql-query.html#returns-the-currently-running-aql-queries) +and [`GET /_api/query/slow`](http/aql-query.html#returns-the-list-of-slow-aql-queries) +endpoints include a new numeric `peakMemoryUsage` attribute. ### Endpoints moved