Question: How to Know Backup Speed in SQL Server?
Answer: It is very simple to know the backup speed in SQL Server.
You can get the answer to this question with the help of SQL Server Management Studio. Let us run the following script which is taking backup of the database.
BACKUP DATABASE [AdventureWorks2017] TO DISK = N'D:\data\adw.bak' GO
Now when you run the above script it will give you the output response in the messages window. When you look at the window, you can see the last line which demonstrates the speed of the current backup.
The last line shows the efficiency in MB/sec.
It depends on many different parameters like – speed of the drive, backup options, size of the backup, and activities going on the server from where the backup is initiated. Additionally, backup also generates wait for statistics which often impacts the current server’s performance.
The best practices say one should take backup only when there are not many activities are going on the server. There are multiple types of backups – full backup, differential backup, and log backup. You will have to schedule them as per your business needs.
Here are my earlier articles on this subject, which you may find interesting.
- SQL SERVER – Backup Timeline and Understanding of Database Restore Process in Full Recovery Model
- What is a Backup Timeline for Restore Process? – Interview Question of the Week #092
- SQL SERVER – 7 Important Things to Remember While Taking Effective Backup
- How to Find Last Full Backup Time and Size for Database? – Interview Question of the Week #173
- SQL SERVER – Restore SQL Database using SSMS – SQL in Sixty Seconds #044 – Video
- SQL SERVER – Configure, Monitor and Restore Backups from Mobile & Web browser
- SQL SERVER – Database in RESTORING State for a Long Time
If you have an interesting question, please share and I will be happy to blog about it with due credit to you.
Reference: Pinal Dave (https://blog.sqlauthority.com)
First appeared on How to Know Backup Speed in SQL Server? – Interview Question of the Week #277