pinal dave · pinal dave . microsoft mvp –sql server. founder –sqlauthority.com....

Post on 04-Jun-2020

11 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Pinal Dave Microsoft MVP – SQL ServerFounder – SQLAuthority.compinal@SQLAuthority.com 

Ahmedabad SQL Server User GroupAhmedabad, Gujarat, India

November 29, 2008

November 29, 2008© Pinal Dave

Speaker Profile

Microsoft Most Valuable Professional – SQL ServerMasters of Science (Computer Networks) –University of Southern California, Los Angeles, USA.Bachelors of Engineering (Electronics & Communication) – Nirma Institutes of Technology, Ahmedabad, India. MCP, MCDBA, MCADFounder – SQLAuthority.com6+ Years of experience as Database Administrator

November 29, 2008© Pinal Dave

Agenda

IntroductionSpeaker ProfileAgendaBackup & Restore DatabaseRandom Tech StuffSummaryQuestions & AnswersReferencesEnd Note

November 29, 2008© Pinal Dave

Compressed Backup

Introduction to BackupIntroduction to Compressed BackupCreating compressed backups is supported only in SQL Server 2008 Enterprise and later.In SQL Server 2008, every edition can restore a compressed backup.Compressed and uncompressed backups cannot co‐exist in a media set. 

November 29, 2008© Pinal Dave

Advantage of Compressed Backup

Faster to completeLesser hard drive space

November 29, 2008© Pinal Dave

Dis‐advantage of Compressed Backup

Higher CPU usageHigher Memory usage

November 29, 2008© Pinal Dave

Backup Demo

Backup With CompressionBackup Without CompressionCompression Ratio

November 29, 2008© Pinal Dave

Compression Ratio Dependency 

The type of dataConsistency of data among rows on a pageData encryptionCompressed database

November 29, 2008© Pinal Dave

Restore Database

Introduction to Restore DatabaseSQL Server 2008 and later version can only read compressed backups and restore them.

November 29, 2008© Pinal Dave

Restore Demo

Restore Compressed Backup Database Restore Uncompressed Backup Database 

November 29, 2008© Pinal Dave

More Advantage of Compressed Backup

Compressed Database Backup are faster to restore than uncompressed database backup.

November 29, 2008© Pinal Dave

Did you know that…

Restoring master database is only possible through special method. (RESTORE keyword works on other databases except master)Online restore is allowed only in SQL Server 2005 Enterprise Edition and later version.Most developer finds issue with their backup when they try to restore them.

November 29, 2008© Pinal Dave

Your Ideas on Backup and Restore

Your Suggestions

November 29, 2008© Pinal Dave

Summary

November 29, 2008© Pinal Dave

Questions and Answers

November 29, 2008© Pinal Dave

References

Microsoft Book OnlineSQLAuthority.comSQL Server 2008

November 29, 2008© Pinal Dave

End Note

Thank You!For any questions or queries contact me at pinal@SQLAuthority.com

November 29, 2008© Pinal Dave

top related