Logical standby and physical standby database in two different types of standby database. In case of any failure of primary database Oracle transfer data from primary database to the standby database. This approach helps us to recover data from standby database in case of any failure.
Logical standby database is not the exact copy of the primary 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.
Primary standby database is the exact copy of primary database so it helps to minimize the workload of the primary database and it also provide higher data protection because any point of time we can recover data from the standby database.
|Sr. No.||Key||Logical standby database||Primary standby database|
Logical standby database is not the exact copy of the primary database
Primary standby database is the exact copy of primary database
Less data protection in comparison of primary standby database
Higher data protection
Additional materialized view
It can have additional materialized views and indexes