December 19, 2016 at 9:55 am
I want to know how to Set BUFFERCOUNT, BLOCKSIZE, and MAXTRANSFERSIZE for BACKUP command for faster backup. I have a 700gb db trying to backup to a disk but its running very slow.
December 19, 2016 at 10:52 am
psred (12/19/2016)
I want to know how to Set BUFFERCOUNT, BLOCKSIZE, and MAXTRANSFERSIZE for BACKUP command for faster backup. I have a 700gb db trying to backup to a disk but its running very slow.
There may be a host of other factors impacting the process. While I don't have an answer on those parameters, it may be wise to see whether you have any significant database file fragmentation, as that could have an adverse impact pretty much regardless of any settings. Take a look-see on the fragmentation, and at least then you'll know if any settings changes are likely to do any good if your disk drives have to constantly seek new tracks because of database file fragments being all over the place.
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
December 19, 2016 at 3:51 pm
what is too slow?
And how are you doing the backup? single file? multiple files? with compression or without? and are files on same drive as database files or on a different drive? is the destination disk local, network or SAN?
December 19, 2016 at 4:28 pm
Backup is too slow. Am doing backup to a single file with compression enabled at server level for backups on a separate backup drive than db file drive and is local on the sever.
December 19, 2016 at 4:42 pm
how does it improve if you backup onto 4 backup files, and explicitly enable compression on the backup command?
And how long does it take to backup using a single file?
and look here for some explanation of the settings you asked - but they are trial and error until you find the best values for your specific server spec. http://henkvandervalk.com/how-to-increase-sql-database-full-backup-speed-using-compression-and-solid-state-disks
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply