Pages

Wednesday, 20 February 2013

Difference between logical & physical standby database


Physical standby differs from logical standby:
  • Physical standby schema matches exactly the source database structure.
  • Archived redo logs and FTP directly to the standby database which is always running in "recover" mode.  Upon arrival, the archived redo logs are applied directly to the standby database.
Logical standby is different from physical standby:
  • Logical standby database does not have to match the schema structure of the source database.
     
  • Logical standby uses LogMiner techniques to transform the archived redo logs into native DML statements (insert, update, delete).  This DML is transported and applied to the standby database.
     
  • Logical standby tables can be open for SQL queries (read only), and all other standby tables can be open for updates.
     
  • Logical standby database can have additional materialized views and indexes added for faster performance.
Installing Physical standbys offers these benefits:
  • An identical physical copy of the primary database
  • Disaster recovery and high availability
  • High Data protection
  • Reduction in primary database workload
  • Performance Faster
  • Mount Stage – Read only mode
Installing Logical standbys offer:
  • Simultaneous use for reporting, summations and queries
  • Efficient use of standby hardware resources
  • Reduction in primary database workload
  • Some limitations on the use of certain datatypes
  • Open stage – Read & Write mode
For more complete differences between logical and physical standby databases, see the book "Oracle Data Guard", by Bipul Kumar.

No comments:

Post a Comment