SQL AlwaysOn Replica Database Status Test
An availability database is a database that belongs to an availability group. For each availability database, the availability group maintains a single read-write copy (the primary database) and one to eight read-only copies (secondary databases). Whenever a failover is detected, the administrators may want the secondary database to take over quickly from the primary database. If too much of data is not transferred to the secondary database from the primary database, then the users have to wait for a longer period to access the databases during failover. In order to avoid such delays, administrators are required to continuously monitor the synchronization status and synchronization health of the availability databases. For each availability database, this test reports the current state, synchronization state and synchronization health. In addition, administrators can be alerted to whether the availability database is suspended from the availability replica.
Target of the test : A Microsoft SQL server
Agent deploying the test : An internal agent
Outputs of the test : One set of results for each availability database on the target Microsoft SQL server that is being monitored
|
Measurement | Description | Measurement Unit | Interpretation | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Is suspended?: |
Indicates whether/not this availability database is suspended from the availability replica. |
|
The values reported by this measure and their numeric equivalents are available in the table below:
Note: This measure reports the Measure Values listed in the table above to indicate whether this availability database is suspended or not. However, in the graph, this measure is indicated using the Numeric Values listed in the above table. The detailed diagnosis of this measure if enabled, lists the IsLocal and the reason for suspension of the availability database. |
||||||||||||||||
Synchronization state: |
Indicates the current synchronization state of this availability database. |
|
The values reported by this measure and their numeric equivalents are available in the table below:
Note: This measure reports the Measure Values listed in the table above to indicate the synchronization state of the database. However, in the graph, this measure is indicated using the Numeric Values listed in the above table. |
||||||||||||||||
Synchronization health state: |
Indicates the health of this availability database during synchronization. |
|
The values reported by this measure and their numeric equivalents are available in the table below:
Note: This measure reports the Measure Values listed in the table above to indicate the health status of the availability database during synchronization. However, in the graph, this measure is indicated using the Numeric Values listed in the above table. |
||||||||||||||||
Database state: |
Indicates the current status of this availability database. |
|
The values reported by this measure and their numeric equivalents are available in the table below:
Note: This measure reports the Measure Values listed in the table above to indicate the current status of this availability database. However, in the graph, this measure is indicated using the Numeric Values listed in the above table. |