Azure SQL Wait Statistics Test

In Microsoft Azure SQL, wait types represent the discrete steps in query processing, where a query waits for resources as the database completes the request. By analyzing wait types and their wait times, administrators can receive quick and objective evidence of performance bottlenecks and their probable causes. The Azure SQL Wait Statistics test enables this analysis. For every type of wait that is currently experienced by the Azure SQL database, this test reports the number, nature, and duration of waits, thereby leading you to the specific wait types that may have contributed to a general slowdown / deterioration in database performance.

Target of the test : A Microsoft Azure SQL database

Agent deploying the test : A remote agent

Outputs of the test : One set of results for every type of wait on the Azure SQL database that is configured for monitoring

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Port

The port at which the specified Host listens.

Database Name

Specify the name of the Azure SQL database that is to be monitored.

User Name and Password

Against the User Name and Password parameters, specify the credentials of the user who is vested with DBOWNER rights to the configured Database Name.

Confirm Password

Confirm the specified Password by retyping it here.

SSL

If the Azure SQL database service being monitored is SSL-enabled, then set the SSL flag to Yes. If not, then set the SSL flag to No.

Domain

By default, none is displayed in this text box. If the ‘SQL server and Windows’ authentication has been enabled for the Azure SQL database being monitored, then the Domain parameter can continue to be none. On the other hand, if ‘Windows only’ authentication has been enabled, then, in the Domain text box, specify the Windows domain in which the monitored database exists. Also, in such a case, the User Name and Password that you provide should be that of a 'domain user' with DBOWNER rights to the configured Database Name.

IS NTLMv2

In some Windows networks, NTLM (NT LAN Manager) may be enabled. NTLM is a suite of Microsoft security protocols that provides authentication, integrity, and confidentiality to users. NTLM version 2 (“NTLMv2”) was concocted to address the security issues present in NTLM. By default, this flag is set to No, indicating that NTLMv2 is not enabled by default for the target Microsoft Azure SQL database. Set this flag to Yes if NTLMv2 is enabled for the target database.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Tasks maximum wait time

Indicates the maximum time taken for a wait of this task type during the last measurement period.

Seconds

 

Tasks signal wait time

Indicates the total signal wait time (across wait types) during which wait events of this type waited for a signal.

Seconds

The signal wait is the time between when a worker has been granted access to the resource and the time it gets scheduled on the CPU. A high value for this measure may imply a high CPU contention. To know which wait type registered the highest signal wait time and probably caused the CPU contention, compare the value of this measure across wait types.

Tasks wait time

Indicates the total wait time (across wait types) during which wait events of this type occurred during the last measurement period.

Seconds

When a user complaints that query execution takes too long, you can compare the value of this measure across wait types to know which type of wait is the key contributor to delays in query processing.

Waiting tasks

Indicates the number of waits of this task type during the last measurement period.

Number

This counter is incremented at the start of each wait.