DRP back up technology in Oracle DataBase DataGuard
DRP back up technology in Oracle DataBase DataGuard
Xiu- ju LIU
department
Email:[email protected]
Abstract: This paper has discussed the data to accommodate replaced the local system and to ensure business
the disaster backup the concept as well as the DataGuard continuity. Application disaster recovery data disaster
outline. From DataGuard key technologies , principle of work recovery at a higher level than that in other places to
and so on, it analyzed the Oracle DataGuard disaster recovery
establish a complete system with substantial local data
technology with high reliability and high security.
backup applications, the disaster occurs, the remote
disaster comes, doing disaster backup is essential. standby databases may be located thousands of miles
away from the production data center for remote disaster
II. DATA DISASTER RECOVERY recovery site, it may be in the same city, same school and
Disaster Recovery in different places through the even the same building. When the production database or
establishment and maintenance of a backup storage unexpected interruption due to planned interruptions
system uses geographic separation to ensure system and become unavailable, Data-Guard can switch any standby
data on the resilience of catastrophic events. Disaster database to the production role, thus interrupt-related
disaster recovery system according to the degree of downtime and minimize and prevent any data loss.
B. The online redo log (Online Redo Log) In this mode, when the master database processing
transactions, redo data from the log write process and the
Both in non-archive mode or in archive mode, online
asynchronous transfer to a standby database. In any case,
redo logs are to be there. It records all the way circulation
are first to complete the write operation on the primary
database changes. It is at least two online redo log file
database, submitted to the primary database backup
group composition. DataGuard standby database in there
operation does not wait for the database to confirm
another type of online redo logs, known as the Standby
reception. If the goal of any standby database becomes
Redo Log, is mainly used for data synchronization.
unavailable, then the process will continue in the main
C. archived redo log (Ar chive Redo Log) database, which only a small impact on the performance
or no effect. When the primary database availability and
Only systems running in archive mode, archived
performance than the risk of losing a small amount of
redo log files will be generated. When online redo log
data is more important, you should use the highest
switch to the next online redo log group, the system
performance mode
would generate a redo log an offline copy of the file, this
file is an archived redo log. Archived redo log is to (3) Maximize Availabilit (maximum availability):
achieve "regret it later," one of the necessary conditions, also known as no data loss mode, which allows data
if you want to completely restore the database, but also a differences, allows asynchronous transmission. Normally
full backup of the database, Oracle 1Og's FlashBack run in maximum protection mode, the primary database
technology to achieve the purpose of data rollback. and standby database disconnect or connect the network
abnormal, it will automatically switch to maximum
D. database backup of the database used performance mode, the primary database operations can
Oracle database backup into: logical backup, which still continue. In the case of poor network performance
means using IMP tool to export a backup, but will lose has a greater impact.
some of that back up the physical structure, such as If the realization of DataGuard technology disaster
indexes, views, etc.; the other is the physical backup, it is recovery and backup, the above technology is essential,
used, such as RMAN, OS Copy production data such as business-related managers must master.
inventory tools lossless backup, the establishment of such
v. WORK PRINCIPLES OF DATAGUARD
a physical backup is to be used in Data-Guard technology.
DataGuard to achieve disaster recovery and backup, A. DataGuard process structure
through the physical standby database and logical standby
In the main database, Oracle DataGuard using the
database to achieve, if the production database fails, it can
log writer (LGWR) or archive process (ARCH) to collect
be physical or logical standby database to switch to the
transaction redo data and its transfer to the standby
production database; If, to the production database,
database; use for archive log process (FAL) provides a
hardware upgrades, on the need to switch the current
client-server mechanism for the primary database and
production database physical or logical standby database.
standby database communications between the
E. DataGuard protection mode interruption, he will send archive logs to the standby
database to automatically fill and re-sync interval. [3]
Oracle DataGuard to provide three high-level modes
The standby database, Oracle DataGuard Remote
of data protection to Pingheng cost, availability,
file server (RFS) process receives redo records from the
performance and transaction protection. [2]
primary database; use and management of the recovery
(1) Maximize Protection (maximum protection):
process (MRP) will be applied to physical standby redo
refers to the master database provides the highest level of
information in the database; using logical standby process
data protection, ensuring a comprehensive zero-data loss
will be through the SQL conversion redo information
disaster recovery solutions. When the maximum
applied to the database.
protection mode, the redo log records written by the
synchronization process to transfer from the primary B. The working principle of the physical standby
database to the standby database, and transaction data databases
until confirmed at least one backup server disk is
If the production database is running in the
available, submit only the main database affairs. This
Maximize Protection mode, then the LGWR process on it
235
very frequently not only to the changes in the redo logs standby database can not be achieved without loss of data
written to online redo log at the same time, it will be as a backup, but it can achieve asynchronous search
through the physical standby database, the RFS process function, so it can share some of the production database
writes standby redo log. Then, if the production database query task.
redo log switch occurs logs, archived redo logs generated, Logical standby database Maximize Performance
it also triggers the physical standby database, standby model and the physical standby database model similar to
redo logs on the log switch occurs and archived redo logs Maximize Performance.
generated, if the physical standby time database recovery
VI. CONCLUSION
mode is set to manage, then the physical standby database
using the MRP process will simultaneously generate Oracle DataGuard technology has the advantage of
archive logs to restore them to the database in order to disaster recovery, very clear, it has good reliability, high
complete the database on the health of non-real-time security, very little impact on performance. When the
backup of data loss. However, in this mode, each data database machine fails, only a few minutes to run the
change is always submitted to two databases at the same database as usual, the data loss rate is almost zero. The
time, the physical standby database, so if there is any practicality of this disaster recovery method development
failure, the production has a huge database, such as to determine its future prospects are very broad.
physical standby database crashes, the database will be
generated At the same time hang.
If the production database is running in the REFERENCES
Maximize Performance mode, DataGuard's default, the [1] Qing-Ming Wu.On the Oracle database disaster recovery in data
transmission method.Modern computer,pp. 59 - 60,February 2003.
production database will occur in the online redo log
archive log and generate a log switch at the same time, [2] Yan Gong. Build system with Oracle 9i dataguard disaster
recovery . Computer Applications and Software, vol. 23,pp.66-68
the data passed by the ARCH process to a physical October 2006.
standby database, and through its on RFS process directly [3] Jian Huang.Based on Oracle Data Guard disaster recovery strategy
generates archived redo logs, eventually, MRP process design and implementation . Technology Square, November 2006.
will archive the log back to the physical standby database, [4] Zhen Chen. Oracle database disaster recovery. Network manager
thus completing the data backup. Can be seen, this model, in the world , September2007.
the physical standby database is not synchronized with
the production database, even in normal circumstances,
there will still be a gap between the current online redo
log, so this way the loss of data backup will occur . [4]
If the production database is running in the
Maximize Availability mode, then the database under
normal circumstances, work and Maximize Protection
mode is the same, but if the physical standby database
fails, then the production database will automatically
switch to Maximize Performance Mode.
Suggest that if only one physical standby database,
run by the third best; if there are more servers, it can also
add a third by the first operating mode, so that the
maximum availability of the data protection .
236