sql-serverlog-shipping

log shipping bandwith estimation


We have a lot of sql server databases in Simple Recovery Mode. We need to move these databases on a different datacenter. These databases can not be closed (they are serving 24x7 mission critical services). We are thinking to use log shipping to create a remote standby database and then switching the remote copy to be primary.

How we can estimate the amount o transaction log written daily by each of these databases? We need to know this amount to estimate netowork bandwith and size of transaction log backup.

Regards Giovanni


Solution

  • I wrote a stored procedure that do the following:

    After 1000 executions I'll calculate the ratio between log size and backup size

    regards Giova