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
| 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. |
|
Azure AD Authentication |
This parameter indicates whether Azure Active Directory (Azure AD) authentication should be used to connect to the Azure SQL Database. If this parameter is set to Yes, the agent will authenticate to the Azure SQL Database using an Azure AD user / domain-based credentials. In this case, the Truststore File Name and Truststore Password parameters must also be configured. If this parameter is set to No, standard SQL authentication will be used. By default, this parameter is set to No. |
|
Truststore File Name |
This parameter is applicable only when Azure AD authentication is set to Yes. If not, set this parameter to none. When Azure AD authentication is used, the server certificate presented by the Azure SQL database during TLS connection establishment must be trusted. For this purpose, the agent must have access to the truststore that contains the CA certificates required to authenticate the Azure SQL server. In this text box, specify the name of the truststore file that contains these trusted CA certificate entries. For example: combinedTrustStore.jks. By default, none is displayed against this text box. To know more, refer to How Does eG Enterprise Monitor a Microsoft Azure SQL Database? |
|
Truststore Password |
This parameter is applicable only when Azure AD authentication is set to Yes. If not, set this parameter to none. If a truststore file is provided in the Truststore File Name text box, then specify the password that is required to access the certificate entries stored in that truststore file. This password is used by the agent to open the truststore and retrieve the certificates for validating the Azure SQL server during authentication. By default, this parameter is set to none. |
| 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. |