cancel
Showing results for 
Search instead for 
Did you mean: 

VVR sync updated, power loss at both ends causes corruption

Adrian_Ogden_2
Level 2
In the VVR sync mode of working it does not apparently commit the block to the secondary until after its told the primary its got it ok and hence committed to the primary end BEFORE its written to hard disk at the other.

Is there not a circumstance here where if power is lost at the primary end and secondary that comitted data is not recoverable at both ends upon power restoration (but not link restoration)
1 REPLY 1

TomerG
Level 6
Partner Employee Accredited Certified
I.e. if the Secondary has a system crash and data wasn't committed to disk, and simultaneously the Primary then goes away, yes there is a chance for data loss... however this is a double fault (kind of equivalent to 2 mirrors failing in sequence: if Mirror 2 fails, then comes back and is in the process of syncronizing when Mirror 1 disk dies)

Normally if the Seconday has a system crash, the SRL from the Primary will re-send any data that wasn't committed to disk on the Secondary (and until the Secondary catches up, it is in asyncronous mode).

If you want to make absolutely sure that both sides have the exact same data, full stop, then you want to use "syncronous = fail". This means that if you loose connection to the Seconday (e.g. system crash, or network failure), then Oracle on the Primary site will get an I/O error and data will no longer be committed. Most customers do not choose this option since it means that a Secondary or network outage has the effect of application down time.