Demo on Data Guard Protection From Lost-Write Corruption

Posted by Rene Kundersma on Oracle Blogs See other posts from Oracle Blogs or by Rene Kundersma
Published on Thu, 25 Oct 2012 18:58:21 +0000 Indexed on 2012/10/25 23:08 UTC
Read the original article Hit count: 365

Filed under:

Today I received the news a new demo has been made available on OTN for Data Guard protection from lost-write corruption. Since this is a typical MAA solution and a very nice demo I decided to mention this great feature also in this blog even while it's a recommended best practice for some time.

When lost writes occur an I/O subsystem acknowledges the completion of the block write even though the write I/O did not occur in the persistent storage. On a subsequent block read on the primary database, the I/O subsystem returns the stale version of the data block, which might be used to update other blocks of the database, thereby corrupting it.  Lost writes can occur after an OS or storage device driver failure, faulty host bus adapters, disk controller failures and volume manager errors.

In the demo a data block lost write occurs when an I/O subsystem acknowledges the completion of the block write, while in fact the write did not occur in the persistent storage. When a primary database lost write corruption is detected by a Data Guard physical standby database, Redo Apply (MRP) will stop and the standby will signal an ORA-752 error to explicitly indicate a primary lost write has occurred (preventing corruption from spreading to the standby database).

Links:

  • MOS (1302539.1). "Best Practices for Corruption Detection, Prevention, and Automatic Repair - in a Data Guard Configuration"
  • Demo
  • MAA Best Practices

Rene Kundersma

© Oracle Blogs or respective owner

Related posts about /Oracle/Dataguard