(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"
......