Professional Documents
Culture Documents
***********************************************************************************
1) What is Dataguard?
Data Guard provides a comprehensive set of services that create, maintain,
manage, and monitor one or more standby databases to enable production Oracle
databases to survive disasters and data corruptions. Data Guard maintains these
standby databases as copies of the production database. Data Guard can be used with
traditional backup, restoration, and cluster techniques to provide a high level of
data protection and data availability.
2) What is DG Broker?
DG Broker �it is the management and monitoring tool�.
Oracle dataguard broker is a distributed management framework that automates
and centralizes the creation , maintenance and monitoring of DG configuration.
All management operations can be performed either through OEM, which uses the
broker (or) broker specified command-line tool interface �DGMGRL�.
6) What is the difference between Physical standby and Logical standby database?
Physical Standby:
In this case standby database is an exact, block-by-block, physical replica of
the primary database.
The change vectors received by RFS process are directly applied to the standby
database by using media recovery.so here the apply process read data blocks,
assemble redo changes from mappings, and then apply redo changes to data blocks
directly.
Physical Standby is the best choice for disaster recovery (DR) based upon
their simplicity, transparency, high performance, and good data protection.
Logical Standby:
In this case standby database uses SQL Apply method to �mine� the redo by
converting it to logical change records, and then building SQL
transactions and applying SQL to the standby database.
As this process of replaying the workload is more complex than the Physical
Standby�s process, so it requires more memory, CPU, and I/O.
One good advantage here is that a logical standby database can be opened read-
write while SQL Apply is active which means you can update (create/insert/delete
etc) local tables and schemas in the logical standby database.
7) What is Active Data Guard Option (Oracle Database 11g Enterprise Edition)?
For physical standby database, prior to 11g, the database would have to be in
the mount state when media recovery was active which means you were not able to
query the standby database during media recovery stage as there was no read-
consistent view.
Active Data Guard 11g features solves the read consistency problem by use of a
�query� SCN. The media recovery process on the standby database will advance the
query SCN after all the changes in a transaction have been applied . The query SCN
will appear to user as the CURRENT_SCN column in the V$DATABASE view on the standby
database. So Read-only users will only be able to see data up to the query SCN, and
hence guaranteeing the same read consistency as the primary database.
This enables a physical standby database to be open as read-only while media
recovery is active, making it useful for doing read-only workloads.
14) What are the different services available in Oracle Data Guard?
Redo Transport Services.
Log Apply Services.
Role -Transitions.
15) What are the different Protection modes available in Oracle Data Guard?
Maximum Protection
Maximum Availability
Maximum Performance
16) How to check what protection mode of primary database in your Oracle Data
Guard?
SELECT PROTECTION_MODE FROM V$DATABASE;
17) What are the advantages of using Physical standby database in Oracle Data
Guard?
High Availability.
Load balancing (Backup and Reporting).
Data Protection.
Disaster Recovery.
========================================================================THE
END===============================================================================