Home > 11g > Difference between logical & physical standby database.

Difference between logical & physical standby database.

January 11, 2014

One of the solution from oracle for DR is Oracle data guard. Oracle transfers data from the main database to a standby database, and in case of failures, Oracle will switch over to the standby database. We have two ways to create a standby database, logical standby and physical standby:

Physical standby differs from logical standby:

1. Physical standby schema matches exactly the source database.
2. Archived redo logs and FTP’ed 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:

1. Logical standby database does not have to match the schema structure of the source database.
2. 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.
3. Logical standby tables can be open for SQL queries (read only), and all other standby tables can be open for updates.
4. Logical standby database can have additional materialized views and indexes added for faster performance.

Installing Physical standbys offers:

1. An identical physical copy of the primary database
2. Disaster recovery and high availability
3. High Data protection
4. Reduction in primary database workload
5. Performance Faster.

Installing Logical standbys offer:

1. Simultaneous use for reporting, summations and queries
2. Efficient use of standby hardware resources
3. Reduction in primary database workload

Limitations with L.S:

1. Some limitations on the use of certain datatypes.

Categories: 11g
%d bloggers like this: