Data Guard
Data Guard
2. What are different types of modes in Data Guard and which is default?
Maximum performance:
This is the default protection mode. It provides the highest level of data
protection that is possible without affecting the performance of a primary
database. This is accomplished by allowing transactions to commit as soon as all
redo data generated by those transactions has been written to the online log.
Maximum protection:
This protection mode ensures that no data loss will occur if the primary database
fails. To provide this level of protection, the redo data needed to recover a
transaction must be written to both the online redo log and to at least one standby
database before the transaction commits. To ensure that data loss cannot occur, the
primary database will shut down, rather than continue processing transactions.
Maximum availability:
This protection mode provides the highest level of data protection that is possible
without compromising the availability of a primary database. Transactions do not
commit until all redo data needed to recover those transactions has been written to
the online redo log and to at least one standby database.
4. What are the parameters we�ve to set in primary/standby for Data Guard?
6. What are differences between physical, logical, snapshot standby and ADG (or)
what are different types of standby databases?
Physical standby � in mount state, MRP will apply archives
ADG � in READ ONLY state, MRP will apply archives
Logical standby � in READ ONLY state, LSP will run
Snapshot standby databases � Physical standby database can be converted to snapshot
standby database, which will be in READ WRITE mode, can do any kind of testing,
then we can convert back snapshot standby database to physical standby database and
start MRP which will apply all pending archives.
8. If you didn't have access to the standby database and you wanted to find out
what error has occurred in a data guard configuration, what view would you check in
the primary database to check the error message?
You can check the v$dataguard_status view.
select message from v$dataguard_status;
9. How can u recover standby which far behind from primary (or) without archive
logs how can we make standby sync?
By using RMAN incremental backup.
10. What is snapshot standby (or) How can we give a physical standby to user in
READ WRITE mode and let him do updates and revert back to standby?
Till Oralce 10g, create guaranteed restore point, open in read write, let him do
updates, flashback to restore point, start MRP.
From Oracle 11g, convert physical standby to snapshot standby, let him do updates,
convert to physical standby, start MRP.
15. What is the difference between normal MRP (managed apply) and RTA MRP (real
time apply)?
18. What is Data Guard broker (or) what is the use of dgmgrl?
20. What is failover/switchover (or) what is the difference between failover &
switchover?