Data Synchronization Overview

Source: Internet
Author: User

(Solution collection)

Background: The new sales system is developed and basic data is obtained from EBS. Real-time synchronization is not required, and only needs to be updated every morning.

That is, some table data in a (EBS)-> B (sales) is thrown to the corresponding interface table in B. When data in a is updated, the corresponding interface table in B is synchronized at night.

Solution:

There are two types of data synchronization, one is between databases, and the other is to use a third-party tool for data synchronization (I am not familiar with it, but I have ruled out the security issues first ). Dblink and sqlload are commonly used for data synchronization between databases. It is more convenient to use dblink. The reason is that the data does not require real-time update. The EBS data table does not contain special fields (such as blob and clob), so it is not subject to the limitations of dblink.

Data Synchronization first clears the data in Table B and then inserts the data again (Advanced Replication ). (Real-time synchronization is not required because there is not much data)

You can also create a trigger in Table A to update table B in real time.

 

Dblink

During the afternoon's discussion with James, I found many problems with the dblink solution. In many cases, I need to continue to consider testing.

1. EBS often clone the environment, so the cloned test environment will also have dblink. How can this dblink be handled? I still don't know when to clone it? How many will be cloned?

I first thought about deleting the dblink in the new environment, But What problems does this cause"

......

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.