Database synchronization method and synchronization device based on incremental field

A technology of incremental data and synchronization devices, applied in the database field, can solve problems such as tediousness, ineffective connection, and failure of incremental synchronization tools to work normally, and achieve the effects of easy use, high maintenance cost, and easy operation

Inactive Publication Date: 2022-01-21
中电云数智科技有限公司
View PDF4 Cites 0 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,

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
  • Database synchronization method and synchronization device based on incremental field
  • Database synchronization method and synchronization device based on incremental field
  • Database synchronization method and synchronization device based on incremental field

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0029] In order to further illustrate the techniques and efficacy of the present invention to achieve predetermined purposes, the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.

[0030] The steps of the method flow in the specification in the present invention and the steps of flowchart flowcharts in the drawings of the present invention must not be strictly implemented by step labels, and the method steps can change the execution order. Moreover, some steps can be omitted, combine multiple steps into one step, and / or decompose one step into multiple steps.

[0031] like figure 1 As shown, a database synchronization method based on an incremental field according to an embodiment of the present invention, including:

[0032] S100, select the preset data field from the source table as the increment field, set the first endpoint value, and the second end point value, where the incremental field has an incre...

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 provides a database synchronization method and synchronization device based on the incremental field. The synchronization method comprises the steps that a preset data field is selected from a source table to serve as the incremental field, a first endpoint value and a second endpoint value are set, the incremental field has an incremental relation, and the first endpoint value is smaller than the second endpoint value; and data between the first endpoint and the second endpoint is screened from the incremental field as incremental data, and the incremental data is synchronized into the target table. According to the database synchronization method and device provided by the invention, a user can specify the increment field and the initial value through visual configuration, and a numerical type, a time and date type and a timestamp type are supported. A data initialization script and an incremental script are automatically constructed through the incremental field and the initial value, and a periodic task is configured to realize incremental data acquisition. Compared with an existing incremental acquisition method, the method is easy to implement, easy to operate, easy to use and high in universality.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and device for synchronizing databases based on incremental fields. Background technique [0002] The data initialization work in the current 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. It is also necessary to manually start the incremental synchronization. tool. 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 the long period of ...

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/22G06F16/23G06F16/245G06F16/27G06F16/28
CPCG06F16/2282G06F16/23G06F16/245G06F16/27G06F16/287
Inventor 彭壮郑超戴博文韩蠡杨鹏义
Owner 中电云数智科技有限公司
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