Click or drag to resize

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
)

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: TaskListSlowAqlQuery
Remarks
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