eG Monitoring
 

Measures reported by MsSqlAlsRplDbStTest

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.

The measures made by this test are as follows:

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:

Measure Value Numeric Value
No 0
Yes 1

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.
Synch_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:

Measure Value Numeric Value
NOT SYNCHRONIZING 0
INITIALIZING 1
REVERTING 2
SYNCHRONIZING 3
SYNCHRONIZED 4

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.
Synch_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:

Measure Value Numeric Value
NOT_HEALTHY 0
PARTIALLY_HEALTHY 1
HEALTHY 2

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.
Db_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:

Measure Value Numeric Value
EMERGENCY 0
SUSPECT 1
RECOVERY_PENDING 2
RECOVERING 3
RESTORING 4
OFFLINE 5
ONLINE 6

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.