SQL SERVER – FIX: Backup Detected Log Corruption in database MyDB. Context is Bad Middle Sector

During my consulting, I guide my clients to have a backup plan in place. One of my clients reported that whenever they try to take a Full Backup of a database, it fails precisely after 60% completion. Here is the error message while making database backup using SQL Server Management Studio. Let us fix error related to the bad middle sector in this blog. 

Read More

SQL SERVER – Mirroring Error 1456 – The ALTER DATABASE Command Could not be Sent to the Remote Server Instance

As a part of my consulting, I still get few clients who prefer to use database mirroring over Always On Availability Group. In this blog we would cover about one possible cause of database mirroring Error 1456 – The ALTER DATABASE command could not be sent to the remote server instance.

Read More

Practical Real World Performance Tuning – Frequently Asked Questions

Earlier this month, I announced my very first online live training course Practical Real World Performance Tuning along with Brent Ozar.  As soon as the course was announced we received your overwhelming response. I am truly thankful to you to fill up the available seats very quickly. While I am writing this blog posts, we have very few limited seats are available. One the seats are filled up, we will have to close the registration. If you miss this opportunity this year, do not worry, you can always register in the future when we return again in 2019 or 2020.

Read More

SQL SERVER – AlwaysOn Automatic Seeding – Database Stuck in Restoring State

As a part of my consulting, I observed that there is a lot of interest in using AlwaysOn availability group. I have deployed many AlwaysOn solutions from start-to-finish. Recently I encountered an issue and in this blog, we would discuss reason of an availability database to stay in restoring mode even after using automatic seeding.

Read More