A processing method for trigger incremental synchronization exception caused by source-side concurrency
A technology of incremental synchronization and processing method, applied in the database field, can solve problems such as affecting execution efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] Embodiment 1 of the present invention provides a processing method for trigger incremental synchronization abnormality caused by concurrency at the source end. The method proposed in the embodiment of the present invention is mostly used in the field of database synchronization backup, that is, the insertion, update, Data operations such as deletion need to be synchronized to the incremental destination side. like image 3 shown, including:
[0087] In step 201, incremental data that has not yet been synchronized is acquired, and a first-stage synchronization of the corresponding incremental data on the incremental destination side is performed.
[0088] The acquisition action described here is usually passive in the specific implementation process, that is, from the perspective of the incremental destination side, the incremental data synchronized by the incremental source side is mainly pushed by the incremental source . Of course, in the specific implementation pr...
Embodiment 2
[0112] The embodiment of the present invention also provides a processing system for trigger incremental synchronization abnormality caused by source-side concurrency, such as Figure 7 As shown, the system includes an incremental source 11 and an incremental target 12, and data intercommunication can be completed between the incremental source 11 and the incremental target 12. The method also includes:
[0113] The incremental source 11 reads data from the CDC table;
[0114] The incremental source 11 sends the read incremental data to the incremental destination 12;
[0115] Incremental purpose 12 performs corresponding DML operations in the target table according to the incremental data, so that the data in the incremental purpose 12 table is consistent with the data in the incremental source 11 table;
[0116] Increment purpose 12 sends the CDC_ID value array of this batch of incremental data to incremental data cleaning module 121;
[0117] Incremental data cleaning mod...
Embodiment 3
[0126] The embodiment of the present invention uses a relatively complete process to show the implementation position of Embodiment 1 of the present invention under the whole architecture environment. Moreover, in the embodiment of the present invention, specific table data will also be introduced to carry out the specific realization of related data synchronization combined with the regional technical features proposed in the embodiment of the present invention.
[0127] In step 501, the delta source reads data from the CDC table (only once per synchronization process).
[0128] In step 502, the incremental source sends the read incremental data to the incremental destination.
[0129] In step 503, the incremental target performs a corresponding DML operation in the target table according to the incremental data, so that the data in the target table is consistent with the data in the source table.
[0130] In step 504, the incremental object sends the array of CDC_ID values ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


