Database corruption is one of the nightmares in the life of a DBA. We store precious data in databases and each day the dataset grows bigger and bigger. A database corruption issue not only puts the data at risk, it also threatens to take a toll on businesses and revenues. Corruption does happen due to faulty hardware, bugs etc. and without proper backup in place, there is a risk of data loose. This lab is divided into four exercises. The first exercise talks about DBCC CHECDB command. In the second exercise, we will learn to fix system table corruption. In the third exercise, we will learn to fix metadata corruption. In the fourth exercise, we learn to fix PFS page corruption.
Exercise 1: Understanding DBCC CHECKDB
Exercise 2: System metadata corruption part 1 (system table corruption)
Exercise 3: System metadata corruption part 2 (metadata corruption)
Exercise 4: System metadata corruption part 3 (PFS page corruption)