Data synchronization method, apparatus, storage medium, and electronic apparatus

A data synchronization and data storage space technology, applied in the computer field, can solve the problems of cumbersome and incremental synchronization tools not working properly, and achieve the effects of avoiding loss, simplifying the data synchronization process, and ensuring accuracy

Active Publication Date: 2019-01-18
NEUSOFT CORP
View PDF6 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the whole process, a lot of human workload is required, and the process of constantly monitoring the export and import of backup files is relatively cumbersome. At the same time, for some large databases, an initialization proc

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method, apparatus, storage medium, and electronic apparatus
  • Data synchronization method, apparatus, storage medium, and electronic apparatus
  • Data synchronization method, apparatus, storage medium, and electronic apparatus

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0071] The specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure, and are not used to limit the present disclosure.

[0072] figure 1 It is a flowchart of a data synchronization method according to an exemplary embodiment, such as figure 1 As shown, the data synchronization method can be applied to a computer and includes the following steps.

[0073] Step S11: While exporting the data to be backed up from the source database, monitor the transaction log of the source database to obtain incremental data during the backup process.

[0074] Step S12: Store the incremental data in the cache queue.

[0075] Step S13: Import the exported data to be backed up and the incremental data in the cache queue into the target database.

[0076] The data stored in the database (including the data t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a data synchronization method, a device, a storage medium and an electronic device, which can simultaneously carry out steps of data initialization and incremental synchronization, simplifies the process of the whole database synchronization, and avoids incremental synchronization errors caused by cleaning transaction logs. The method comprises the following steps: while the data to be backed up is derived from the source database, the transaction log of the source database is monitored to obtain incremental data in the backup process; storing the incremental data in acache queue; the exported data to be backed up and the incremental data in the cache queue are imported to the target database.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a data synchronization method, device, storage medium and electronic equipment. Background technique [0002] The real-time database synchronization method can be applied in scenarios such as database active-active backup and read-write separation. The usual operation steps for database real-time synchronization are to first initialize the data, and then use the real-time data synchronization tool based on log analysis to synchronize the incremental data at the source . [0003] At present, the data initialization in database synchronization needs to be performed manually. Use the database backup tool to export the data from the source database into a backup file, and then manually import it to the target database, and then perform incremental synchronization. Manually start the increment. Synchronization tool. During the whole process, a lot of human workload i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/27G06F16/245G06F16/23
Inventor 井玉成牟晓光黄治纲
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products