Optimizing your backup
-
Upload
sourabh-agarwal -
Category
Technology
-
view
1.839 -
download
0
description
Transcript of Optimizing your backup
Optimizing Backup
PerformanceTips and Tricks
What is Backup?SQL Server Memory
Trivia 1
Optimizing Read
• SQL Server Memory
Disk Allocation Unit – 64K
Optimizing Read Cont..
Optimizing Writes
• SQL Ser
ver
Mem
ory
Optimizing Writes contd..
• SQL Ser
ver
Mem
ory
Compression
Optimizing Write contd..
MaxTransferSize
Trivia 1
Optimizing Memory
• SQL Server Memory
Size of Buffer = MaxTransferSizeNo. of Buffers
Optimizing Memory
BACKUP DATABASE [AnotherSingleFileDatabase]TO DISK= 'C:\AnotherSingleFileDatabase.bak'WITH COMPRESSION, MAXTRANSFERSIZE = 2097152, BUFFERCOUNT = 3000
There is insufficient system memory in resource pool 'default' to run this query.
OVER
Key Takeaways.. • Multiple Database files on different LUN’s
• Disk formatting with 64K Allocation Unit size
• Multiple backup files
• Compression
• MaxTransferSize
• BufferCount
• Be sensible in choosing your values for BufferCount and MaxTransferSize
Trivia 1
• Sourabh Agarwal
• Sr. Premier Field Engineer – Microsoft Services
• Blogs: www.sqluninterrupted.com
• Facebook: https://www.facebook.com/groups/SQLBangalore
• Twitter: @napsterreturns