Skip to main content

wait_statistics

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

Overview

Namewait_statistics
TypeResource
Idazure.maria_db.wait_statistics

Fields

NameDatatypeDescription
counttextfield from the properties object
database_nametextfield from the properties object
end_timetextfield from the properties object
event_nametextfield from the properties object
event_type_nametextfield from the properties object
query_idtextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
start_timetextfield from the properties object
subscriptionIdtextfield from the properties object
total_time_in_mstextfield from the properties object
user_idtextfield from the properties object
waitStatisticsIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serverName, subscriptionId, waitStatisticsIdRetrieve wait statistics for specified identifier.
list_by_serverSELECTresourceGroupName, serverName, subscriptionId, data__propertiesRetrieve wait statistics for specified aggregation window.

SELECT examples

Retrieve wait statistics for specified identifier.

SELECT
count,
database_name,
end_time,
event_name,
event_type_name,
query_id,
resourceGroupName,
serverName,
start_time,
subscriptionId,
total_time_in_ms,
user_id,
waitStatisticsId
FROM azure.maria_db.vw_wait_statistics
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND waitStatisticsId = '{{ waitStatisticsId }}';