Have a look at Glenn Berry's diagnostic queries: https://glennsqlperformance.com/resources/
Scripts/alerts for health check of SQLServer
Avyayah
1,291
Reputation points
What scripts/alerts can I run on a database server to check health of the server.
SQL Server | Other
14,494 questions
2 answers
Sort by: Most helpful
-
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
2021-08-25T21:22:06.357+00:00 -
AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
2021-08-26T02:28:04.757+00:00 Hi SahaSaha-5270,
Please refer to the scripts in the following articles which might be helpful:
SQL Server Health Check HTML Report
T-SQL scripts to generate database health reportsBest Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.