Optimizing your backup

Post on 11-Jun-2015

1.841 views 0 download

Tags:

description

Slide Deck's for my presentation at the Techcon 2013, held on the 21st of September 2013.

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