
Identify corruption as a defect in physical storage sectors. Avoid wasting time on memory tests; evaluate backups and restoration options since large databases take hours or days.
corruption never disappears, it remains persistent despite checks; creating an index with new data pages may conceal old corruption on index pages, so be vigilant.
This demonstration shows three corruption-related errors, how Windows reads disk data, and how to identify and correct suspect pages by listing the database and page numbers for correction.
Demonstrate using dbcc ind and dbcc page to inspect page allocation and index structures, including cluster indexes, heaps, and fragmentation, with deeper page analysis.
Learn to verify data consistency to detect corruption and maintain database integrity, using manual checks or automated weekly jobs to cover the entire database.
Learn how to create a job to check data consistency, schedule it daily or weekly, and receive email alerts when corruption is detected.
The lecture demos SQL Server's checkdb options, comparing physical only versus full checks, explaining how CHECKDB validates data integrity, estimates free space, and uses database snapshots to balance performance.
Survey on checkdb usage in production databases worldwide shows 61 percent run checks without action, while 37 percent weekly and 25 percent daily, with many unsure about data integrity checks.
Watch a demo of backup with checksum that detects and corrects page 147 corruption, demonstrating how checksums maintain data integrity with minimal performance impact.
Demonstrate how to repair vs restore corrupt databases, back up first, and perform page and index repairs while verifying foreign keys are correct.
compare when to restore versus repair in database corruption, evaluate backups and data export options, and decide based on time, availability, and company constraints.
Demonstrates how to recreate a SQL Server database log by detaching the database, creating a new log, and reattaching to recover from log corruption.
Explore how emergency mode repairs database corruption in SQL Server, with a demonstration of switching to single user mode, running repair data, and handling suspect mode when recovery fails.
Explore different restoration techniques to recover from database corruption, restore to a specific time, and always back up the system database to ensure recoverability.
Showcases a demo of restoring logs to recover a SQL Server database after a crash, using backups, differential backups, and a catalog in recovery mode.
Demonstrates performing a point-in-time restore with the stopat option to recover data from backups and restore a SQL Server database to a precise moment.
Learn how to use restore with standby to perform point-in-time recovery, track restoration progress, and stop at a precise restore point using standby mode.
Explore a practical tail log backup demonstration in SQL Server, starting from a full backup and log backups to recover an inaccessible or damaged database.
This demo shows how to restore a single page in a multi-terabyte database, highlighting a restoration technique that saves hours and ensures page-level consistency with log-based restrictions.
Learn how to recover from corruption by restoring a SQL Server database from a specific LSN, including simulating a crash and applying backups to a prior LSN.
Learn to restore the master system database from backups, restart the SQL Server service, and re-establish connections using administrator permissions and post-restore validation.
Demonstrate restoring all SQL Server system databases after corruption, recreating the setup from backups, archiving components, and regaining administrator access to the instance.
Identify that corruption can occur at any time, including disk or snapshot failures, and use tools to detect and correct database corruption while prioritizing daily backups and system database integrity.
Database corruption happens all the time, all over the world !!
When it happens in your environment, do you know what to do?
This 2-hour course will show you what you need to know to detect and repair most cases of database corruption.
The course begins by explaining why early detection of corruption is so important, and then examines the different causes of database corruption.
You will learn how to configure SQL Server to automatically detect when I/O errors occur.
You'll learn how to configure SQL Server to automatically detect when I/O errors occur, what consistency checks are, the DBCC commands to use to perform consistency checks, and how to configure SQL Server to perform consistency checks regularly.
The training in detail:
What are common causes of corruption?
How to check data consistency?
How to repair in case of corruption?
What to do in case of log corruption?
This course is aimed at all database administrators and developers who will learn how to react to a case of corruption.
Taking this course will help you to stand out technically from your colleagues, or during a job interview.
I also made sure that the videos don't exceed 10 minutes, so that it wouldn't be too soporific :)
The course is applicable for all SQL Server versions from SQL Server 2005 onward, and for anyone responsible for SQL Server databases with any level of experience.