Admin Advanced Data Recovery And Troubleshooting With Sql Server 2008

531 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
531
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Admin Advanced Data Recovery And Troubleshooting With Sql Server 2008

  1. 1. Vinod Kumar Technology Evangelist Microsoft www.ExtremeExperts.com
  2. 2. What We Will Cover SQL Server Storage Internals Important SQL Server 2005/2008 Enhancements Data Recovery Scenarios and Troubleshooting Techniques
  3. 3. Agenda SQL Server Storage Internals SQL Server 2005 Enhancements System Database Recovery User Database Inaccessible BACKUP/RESTORE Failures Database Consistency Errors
  4. 4. SQL Server Storage Internals Database and File States Resource Database Catalog Views and System Base Tables Allocation Structures Database Checksum Fast Recovery Deferred Transactions Read-Only Compressed Databases
  5. 5. Storage Internals
  6. 6. BACKUP/RESTORE Enhancements BACKUP WITH CHECKSUM Full-text integrated RESTORE VERIFYONLY WITH CONTINUE_AFTER_ERROR Page Level Restore
  7. 7. DBCC CheckDB Enhancements
  8. 8. Data Recovery Scenarios System Database Recovery User Database Inaccessible BACKUP/RESTORE Failures Database Consistency Failures Runtime Errors DBCC CHECKDB Errors
  9. 9. System Database Recovery Recovering Master Files not available Rebuild using Setup and Restore (you must reapply fixes) Recovering Model Rebuild using Setup (you must reapply fixes) Recovering MSDB System can still start but SQLAgent will not instmsdb.sql not an option (at this time) to build clean
  10. 10. System Database Recovery (2) Recovering Resource Database Copy the correct version of the files Rebuild using Setup (you must reapply fixes) Failure to create tempdb Server can start as long as primary files can be created Operating System Reinstallation SQL Setup can reuse existing system databases
  11. 11. System Database Scenarios
  12. 12. BACKUP/RESTORE Scenarios
  13. 13. DataConsistency Scenarios
  14. 14. Summary SQL Server 2005 greatly enhances data recovery capabilities CHECKSUM can help detect problems early Previous problems may not occur as often (Ex. Deferred transactions, read-retry) Nothing substitutes a good backup
  15. 15. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

×