Hello Buddy DBAs,
In this video I am showing a script that I created to continuously monitor an Always On Availability Group for any synchronization delay due to latency or due to some database not performing data movement.
Please feel free to test this script in your Test Environment and promote it to Production if you like. Please visit this space again for updated version of script in future.
If you face any error or issues please let me know in comments.
Script
***************************************************************************
Please find 'AlwaysOnMonitoring.sql' file from the below
google drive folder -
[ Ссылка ]
![](https://s2.save4k.ru/pic/wFX_bgEzQKk/maxresdefault.jpg)