Hi Experts recently I attended Interviews for my next Job and every one asked me this.
Question: How can I faster or Speed up database backup of Database size close to 1TB or 800 GB in SQL Server ?
My Answer : We can use Database Compression Option or using any Third Party Tools like Light Speed .
But they expected this Answer which I am not complete aware of.
Solution :: Increase throughput by adding more destination files
Example ::
--I created this sample script by adding more Backup Destination files: DBCC TRACEON (3605, -1) DBCC TRACEON (3213, -1) BACKUP DATABASE [AdventureWorks2008] TO DISK = N'E:ADWBackupAdventureWorks2008-Full.bak', DISK = N'E:ADWBackupAdventureWorks2008-Full-File2.bak', DISK = N'E:ADWBackupAdventureWorks2008-Full-File3.bak'
WITH NOFORMAT, INIT,NAME = N'AdventureWorks2008-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10 DBCC TRACEOFF(3605, -1) DBCC TRACEOFF(3213, -1)
Can you please answer me below Questions:
1) What is the use of following this method instead of single file. 2)Will there be any time difference if I do like this ? 3)How can I restore the DB using this multiple files I splitted. 4)Will it really Increase the speedy backup.
Please answer.
Thank you All, Vijay Ganji
- - , .
برچسب:
نویسنده: استخدام کار