Oracle remote replication and Remote Disaster Recovery classic Analysis

Source: Internet
Author: User

CurrentlyOracleRemote database replication and Disaster Tolerance mainly involve the following technologies or solutions:Solution:

1. Based onStorageDisaster recovery replication solution at the Layer

The replication mechanism of this technology is based on the San-based storage LAN for replication for each Io, the copied data volume is relatively large; the system can implement synchronous or asynchronous data replication. For systems with large data volumes, it has great advantages (the daily log volume is more than 60 GB), but for the host,Operating SystemAnd database versions.

The target system does not need a host, as long as there is a storage device. If the target system needs to be readable, additional configurations and devices are required, which is troublesome.

2. logical volume-based disaster recovery replication Solution

The mechanism of this technology is to replicate the network environment based on TCP/IP, and the operating system process captures the changes in the logical volume for replication. Its features are similar to those of the replication solution based on storage devices. You can also choose synchronous or asynchronous modes,HardwareEnvironment consistency requirements are also high, for large data volumesApplicationIt is advantageous. If the target system is readable, a third-party image must be created. I personally think that this technology is more suitable for systems with large data volumes or disaster recovery replication of application systems than the storage-based replication technology mentioned above.

3. Oracle redo log-based logical Replication

UseThis method mainly involves some third-partySoftwareAnd logical standby in Oracle's own logging uard. At present, there are already many mature foreignProductThere are similar products in China, but there is still a gap with foreign countries in terms of product maturity and success stories.

The principles of such products are basically the same. The working process can be divided into the following processes:

Use independent processes outside of Oracle to capture redo log file information, translate it into SQL statements, and then transmit it to the target database through the network, and execute the same SQL statement in the target database. If the process cannot catch up with Oracle log switching, you can also capture the content in the archived logs. Some products take transactions as the unit at the source end. After a transaction is completed, it is transmitted to the target end. All products generally copy data in tables and support most DDL replication (mainly in the Oracle9i environment ).

The technical features and advantages of this technology are as follows:

The target database is always a database that can be accessed; transaction consistency between databases at both ends can be ensured; because the process outside oracle is used for capturing and its priority is lower than that of the Oracle process, therefore, it has little impact on the performance of the Source System database. Based on its implementation principle and the use of multiple queue files, the replication environment can provide Fault Tolerance capabilities for network failures, database failures, and host failures; because such software only copies SQL statements or transactions, it can fully support replication in heterogeneous environments, hardware models, Oracle versions, operating system types, versions, and so on.

This method also supports multiple replication methods, such as data centralization, distribution, peer replication, or multi-layer test replication.

Because the transmitted content is only part of the redolog or archive log, it occupies a small amount of network resources and can be remotely copied between different cities.

Redolog-based logical replication products have many advantages, but compared with other solutions mentioned above, there are also some disadvantages:

When the throughput of the database is too large, there will actually be a large delay. When the daily volume of the database reaches 60 GB or larger, the feasibility of this solution is poor. The implementation process may have some downtime, data Synchronization and configuration activation. After the replication environment is established, some modifications to the database structure need to be performed according to the prescribed operation procedures, with a certain maintenance cost.

However, these products are developing rapidly. The above problems have been greatly improved in the latest versions of most products.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.