IAqlFunctionApiClientGetSlowAqlQueriesAsync Method |
Gets a list of slow running AQL queries in the currently
selected database or in all databases.
GET /_api/query/slow
Namespace:
ArangoDBNetStandard.AqlFunctionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<List<SlowAqlQuery>> GetSlowAqlQueriesAsync(
GetSlowAqlQueriesQuery query = null
)
Function GetSlowAqlQueriesAsync (
Optional query As GetSlowAqlQueriesQuery = Nothing
) As Task(Of List(Of SlowAqlQuery))
Task<List<SlowAqlQuery^>^>^ GetSlowAqlQueriesAsync(
GetSlowAqlQueriesQuery^ query = nullptr
)
abstract GetSlowAqlQueriesAsync :
?query : GetSlowAqlQueriesQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<List<SlowAqlQuery>>
Parameters
- query (Optional)
- Type: ArangoDBNetStandard.AqlFunctionApi.ModelsGetSlowAqlQueriesQuery
The query parameters of the request.
If All parameter is set to true, it will return a list of
slow running AQL queries in all databases, not just the selected one.
Using the parameter is only allowed in the system database
and with superuser privileges.
Return Value
Type:
TaskListSlowAqlQueryRemarks
Returns an array containing the last AQL queries that are
finished and have exceeded the slow query threshold in the
selected database. The maximum amount of queries in the list
can be controlled by setting the query tracking property maxSlowQueries.
The threshold for treating a query as slow can be adjusted by
setting the query tracking property slowQueryThreshold.
See Also