SQL Server: Advanced Corruption Recovery Techniques
Database corruption happens all the time, all over the world, and sometimes it's not so simple to deal with. In this follow-on course from SQL Server: Detecting and Correcting Database Corruption, you'll learn the more advanced techniques that can lead to success in the most challenging corruption scenarios, applicable for more experienced SQL Server professionals, from SQL Server 2005 onward.
What you'll learn
Database corruption happens all the time, all over the world, and sometimes it's not so simple to deal with. The SQL Server: Detecting and Correcting Database Corruption course showed you what you need to know to detect and recover from most cases of database corruption and this course will take you to the next level of knowledge and capabilities. The course starts by explaining in depth how DBCC CHECKDB processes databases and how you can tune the performance of DBCC CHECKDB to make it run as fast as possible. You'll then learn about some undocumented DBCC commands, such as DBCC PAGE and DBCC WRITEPAGE, which can be invaluable when investigating and repairing corruption. The course then moves on to dealing with transaction log corruption, such as using EMERGENCY mode and how to re-attach damaged databases, and more advanced restore techniques, including how to analyze the transaction log to find the point to restore to and how to perform a tail-of-the-log backup using a different SQL Server instance. Finally, the course ends with advanced repair techniques, including how to deal with corrupt metadata by manually editing system tables, how to salvage data from backups and nonclustered indexes, and the ultimate in advanced recovery techniques: manually editing a database using DBCC WRITEPAGE. Packed with a wealth of information and practical, easy-to-follow demonstrations, this course will prepare you for dealing with out-of-the-ordinary corruption problems. The course is applicable to all SQL Server versions from SQL Server 2005 onward, and for more experienced SQL Server professionals.
Table of contents
- Introduction 1m
- What Exactly Does DBCC CHECKDB Do? 5m
- Fact Processing (1) 3m
- Fact Processing (2) 3m
- Fact Processing (3) 1m
- Batch Processing 3m
- Parallelism (1) 2m
- Parallelism (2) 1m
- Nonclustered Index Checks 3m
- Making DBCC CHECKDB Go Faster (1) 2m
- Making DBCC CHECKDB Go Faster (2) 2m
- Making DBCC CHECKDB Go Faster (3) 2m
- Making DBCC CHECKDB Go Faster (4) 2m
- Summary 1m
- Introduction 1m
- Database States (1) 2m
- Database States (2) 1m
- Damaged/Missing Log With Clean Shutdown 2m
- Demo: Recreating the Log 3m
- Damaged/Missing Log Without Clean Shutdown 1m
- EMERGENCY Mode 2m
- EMERGENCY-Mode Repair 2m
- Demo: EMERGENCY-Mode Repair 5m
- Demo: Unrepairable Corruption in EMERGENCY-Mode 4m
- Detached SUSPECT Database 2m
- Demo: Detached SUSPECT Database 5m
- Demo: Detached SUSPECT Database with Non-Standard File IDs 6m
- Damaged Log of Attached Database 2m
- Summary 1m
- Introduction 1m
- What If SQL Server is Unavailable? 2m
- Demo: Hack-Attach Tail-of-the-Log Backup 4m
- Page Restore 1m
- Demo: Simple Page Restore 5m
- Demo: Failed Page Restore 3m
- Piecemeal and Partial Restores 2m
- Demo: Partial Restore 5m
- Demo: Piecemeal Restore 3m
- Restoring Corrupt Backups 2m
- Demo: Restoring Corrupt Backups 4m
- Looking Into Log Backups 2m
- Restoring to a Log Sequence Number 1m
- Demo: Using fn_dump_dblog and LSN Restore 7m
- Restoring System Databases (1) 1m
- Restoring System Databases (2) 2m
- Demo: Restoring master 3m
- Summary 1m
- Introduction 1m
- Is Repair Guaranteed to Work? 3m
- Metadata Corruption 4m
- Demo: Enabling the Dedicated Admin Connection 2m
- Demo: Upgraded Corrupt Metadata 6m
- Demo: Metadata Corruption 4m
- Rebuilding System Table Indexes 2m
- Demo: Corrupt System Table Indexes 3m
- Using Older Backups and Repair 1m
- Demo: Using Older Backups and Repair 5m
- Reconstructing Data From Nonclustered Indexes 1m
- Demo: Reconstructing Data From Nonclustered Indexes 7m
- Using DBCC PAGE to Navigate Table Structures 3m
- Demo: Using DBCC PAGE to Navigate Table Structures 6m
- The Ultimate Advanced Recovery 3m
- Demo: Manual Repair Using DBCC WRITEPAGE 12m
- Any Other Ways to Salvage Data? 1m
- Course Summary 2m