24 March,2016 by Tom Collins
A colleague phoned me yesterday , with a problem related to moving and restoring a very large database. They a one-off situation where they need to copy a database to another server.
The question was whether a Backup and Restore would be faster or a detach and attach.They were wondering which method would be faster .
There are many factors in-play , such as : network speed, disk io throughput , memory – in deciding which method to use.
So the first task is to assess the capacity of the system resources
The second task is to review any other methods available, such as snapshots
The third task is to decide whether it’s acceptable to have the database offline for a period of time , if employing the Detach – Attach method.
Assuming you’re left with the Backup – Restore or the detach – attach method , then generally the detach – attach method can be quicker to use . Why?
This needs to be weighed against
Database backup does not cause blocking (SQL Server DBA)
Backup history for a single SQL Server database - SQL Server DBA
VM Snapshot Backup Review for databases - SQL Server DBA
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |