Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 process usually lasts for 3-4 days, and even lasts for as long as Several weeks, however, the database transaction log during this period may be cleaned up due to too long, causing the incremental synchronization tool to not work properly

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

Embodiment Construction

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

[0072] figure 1 is a flowchart of a data synchronization method shown 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 to the target database.

[0076] The data stored in the database (inclu...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products