Monitor AlwaysOn Availabilty Groups

Tools

Find the specific sql server t-log to be restored for an unrecovered database

Recently when I needed to find the Transaction Log file that can be applied to a log shipping secondary database I decided to take a few moments and automate the process that I usually do in the old fashion manual way and that includes: 1. generating the restore log commands using a query over backupset

Find the specific sql server t-log to be restored for an unrecovered database Read More »

Compressing SQL Server backups using 7Zip4Powershell

When maintaining client’s systems, I tend to pay extra attention about SQL Servers backups, being a ware that the data in most cases is the organization’s most important asset. With that in mind I always look for the extra layer of protection I can provide so that data is protected against any potential threat and

Compressing SQL Server backups using 7Zip4Powershell Read More »

Using diskspd to test disk performance with SQL Server

This is the link to my GitHub diskspd project diskspd was designed as a storage testing tool and that basically mean test your SAN or NAS but not only SAN/NAS based disks, you can test any other disk, be it a DAS, a local drive on your server or your new laptop’s SSD (I always

Using diskspd to test disk performance with SQL Server Read More »

Use SQL Server’s missing indexes feature

SQL Server exposes missing indexes metadata via the following 3 DMVs (Dynamic Management Views) sys.dm_db_missing_index_details,  sys.dm_db_missing_index_groups and sys.dm_db_missing_index_group_stats which combined in a simple query return valuable information of indexes that were detected as missing by the Optimizer and logged in those DMVs. The information in these DMVs is updated by the execution of every query

Use SQL Server’s missing indexes feature Read More »