A data synchronization method and data synchronization device
A data synchronization and database technology, applied in structured data retrieval, database distribution/replication, etc., can solve problems affecting synchronization efficiency, transaction loss, and uncontrollable waiting time, so as to improve efficiency and reduce data processing volume Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] refer to figure 2 The method of data synchronization in this embodiment will be described in detail. Wherein, the data synchronization method in this embodiment explains the data synchronization method of the present invention from the perspective of the source database. The data synchronization method includes the following steps:
[0066] Step 10: The source synchronization tool obtains the backup file generated by the source database.
[0067] Wherein, the source database includes any one of the DM6 database and the DM7 database, which can be selected according to actual conditions.
[0068] In actual application scenarios, the source database generates database backup files according to the online backup command. During the backup process, the source database still has transactions, and the source database also obtains the corresponding transaction logs from the backup start time to the backup completion time. , wherein the transaction log includes an active tra...
Embodiment 2
[0084] refer to image 3 The method of data synchronization in this embodiment will be described in detail. Wherein, the data synchronization method in this embodiment explains the data synchronization method of the present invention from the perspective of the destination database. The method for data synchronization in this embodiment includes the following steps:
[0085] Step 20: The destination synchronization tool receives the backup file sent by the source synchronization tool, and obtains the reference database and the active transaction log according to the backup file.
[0086] In this embodiment, the synchronization tool at the destination end receives the backup file sent by the synchronization tool at the source end, and obtains the reference database according to the backup file. Wherein, the backup file includes the data file and the transaction log corresponding to the source database from the backup start time to the backup completion time, and the transacti...
Embodiment 3
[0119] see Image 6 , Image 6 It is a schematic structural diagram of a data synchronization device provided by an embodiment of the present invention. The data synchronization device in this embodiment includes one or more processors 61 and a memory 62 . in, Image 6 A processor 61 is taken as an example.
[0120] Processor 61 and memory 62 can be connected by bus or other means, Image 6 Take connection via bus as an example.
[0121] Memory 62, as a non-volatile computer-readable storage medium based on data synchronization, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the data synchronization method in Embodiment 1 and the corresponding program instructions. The processor 61 executes various functional applications and data processing of the data synchronization method by running non-volatile software programs, instructions and modules stored in the memory 62, thereby realizing the data synchroni...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


