DB2 database data synchronization method, device and system
A data synchronization and database technology, which is applied in the computer field, can solve problems such as inability to realize synchronization process breakpoint resume, inability to achieve data synchronization, inability to realize db2 data incremental synchronization, etc., and achieve low synchronization delay and high analysis efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0089] Such as figure 1 As shown, the application provides a DB2 database data synchronization method, comprising the following steps:
[0090] S22. Obtain a data synchronization request for the source database to be synchronized and the corresponding target database to be synchronized.
[0091] In this solution, the source database to be synchronized is a DB2 database, and the target database can be a DB2 database, or other relational databases, such as: mysql, oracle, sybase, etc.; in addition, the source database and target database to be synchronized can be a or more. Before this step, it is necessary to configure the source library and the target library to be synchronized to realize the communication connection between the source library and the target library.
[0092] Now take multiple source databases and multiple target databases as an example to describe the configuration process of the source database and target database, including the following steps:
[0093] ...
Embodiment 2
[0153] Such as image 3 As shown, the application provides a DB2 database data synchronization device, including:
[0154] An acquisition module 30, configured to acquire a data synchronization request for a source library to be synchronized and a corresponding target library to be synchronized;
[0155] The first synchronization module 31 is used to perform full synchronization on the target database according to the data of the source database if the request is a full synchronization request;
[0156] The second synchronization module 32 is configured to obtain and analyze the log data generated by the source database in real time if the request is an incremental synchronization request, and perform incremental synchronization on the target database according to the analysis result.
[0157] Preferably, the above-mentioned device also includes:
[0158] The configuration module 33 is used to determine the sub-library information of the source library and the sub-library in...
Embodiment 3
[0186] Corresponding to the above method and device, Embodiment 3 of the present application provides a computer system, including:
[0187] one or more processors; and
[0188] A memory associated with one or more processors. The memory is used to store program instructions. When the program instructions are read and executed by one or more processors, they perform the following operations:
[0189] Obtain a data synchronization request for the source database to be synchronized and the corresponding target database to be synchronized;
[0190] If the request is a full synchronization request, the target database will be fully synchronized according to the data of the source database;
[0191] If the request is an incremental synchronization request, the log data generated by the source database will be obtained in real time and analyzed, and the target database will be incrementally synchronized based on the analysis results.
[0192] in, Figure 4The architecture of the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com