Skip to main content

vw_wait_statistics

Creates, updates, deletes, gets or lists a vw_wait_statistics resource.

Overview

Namevw_wait_statistics
TypeView
Idazure.maria_db.vw_wait_statistics

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.endTime') as "end_time",
JSON_EXTRACT(properties, '$.eventName') as "event_name",
JSON_EXTRACT(properties, '$.eventTypeName') as "event_type_name",
JSON_EXTRACT(properties, '$.queryId') as "query_id",
JSON_EXTRACT(properties, '$.databaseName') as "database_name",
JSON_EXTRACT(properties, '$.userId') as "user_id",
JSON_EXTRACT(properties, '$.count') as "count",
JSON_EXTRACT(properties, '$.totalTimeInMs') as "total_time_in_ms",
subscriptionId,
resourceGroupName,
serverName,
waitStatisticsId
FROM azure.maria_db.wait_statistics
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me' AND waitStatisticsId = 'replace-me';