Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Log Shipping Simple question re: full backup involvement Expand / Collapse
Author
Message
Posted Friday, February 8, 2013 10:03 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 7:20 AM
Points: 38, Visits: 432
Sotn,
It would be nice to inform the users of the Secondary Log shipping Database to expect a latency of around 1 hours (even though you have setup 30 mins of backup and restore interval) .
I had same case like yours and while testing how well the data are sync between the two databases, I found that there was a latency of 1 hour.
This might be because the Backup, Copy and Restore were all scheduled to run at same time (interval of 30mins). When the Restore needs the trn file to restore it to the Secondary database , It won't find it in the Restore Folder because it is in the process of being Backed-up and Copied across the network. So The Restore has to wait for another 30 mins to Restore that trn file.
Hence there is a latency of around 1 hour.

I may be able to resolve this by delaying the restore by few minutes..

thanks guys..
Post #1417814
Posted Friday, February 8, 2013 10:10 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, December 3, 2014 3:56 AM
Points: 128, Visits: 421
Hi,

Yes makes perfect sense, thanks.
Post #1417815
Posted Friday, February 8, 2013 3:04 PM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 7:20 AM
Points: 38, Visits: 432
FYI
http://www.sqlservercentral.com/Forums/Topic1413261-1549-1.aspx
Post #1417920
Posted Monday, February 11, 2013 5:13 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, December 3, 2014 3:56 AM
Points: 128, Visits: 421
I think my confusion came from this scenario.
Tlog backup at 9:30 and 10:30 and a full backup at 10:00

The full backup at 10:00 contains transactions since the last full backup
I thought that the 10:30 tlog backup just contained transactions since 10:00 (the full backup) but as I have now been told it will included transactions going back prior to the full backup, back to the most recent tlog backup at 09:30, so technically, transactions made between 09:30 and 10:00 will be in the 10:00 full backup and the 10:30 tlog backup.


Post #1418329
Posted Monday, February 11, 2013 6:09 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 8:36 AM
Points: 40,615, Visits: 37,080
sotn (2/11/2013)
The full backup at 10:00 contains transactions since the last full backup


The full backup contains the complete state of the database at the time of backup, it's not a list of transactions since the last full backup



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1418374
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse