SQL Server – How to Fix Slow Restore in SQL Log Shipping

log-shippingrestoresql servertransaction-log

I have SQL Server 2012 SP4, ten databases and log shipping.

One database 2.7TB

  • Ten data files and two log files

Log shipping configuration:

  • Transaction log backup job : 3 Min
  • Copy job : 1 Min
  • Restore job : 1 Min
  • Standby Mode, clicked Disconnect users…

A 50MB trn file take at 2 hours restored. The database is being 100% restored and remains. How do i solve this?

enter image description here
enter image description here

Best Answer

I added sql service account to Perform volume maintenance tasks and disk slowness problem appeared on the server. The storage team replaced the disks with faster disks. Problem is solved.

enter image description hereenter image description here