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

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, causing the incremental synchronization tool to not work properly
[0003] In related technologies, technical means such as date and time stamps are used to collect or incremental data in the source table. This method can only perform incremental extraction for date and time data, and when the synchronization is divided into multiple times, it cannot be effectively connected Up to last updated content

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

Embodiment Construction

[0029] In order to further explain the technical means and functions adopted by the present invention to achieve the intended purpose, the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0030] The description of the method flow in the description of the present invention and the steps of the flow chart in the drawings of the description of the present invention do not have to be strictly executed according to the step numbers, and the execution order of the method steps can be changed. Moreover, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.

[0031] Such as figure 1 As shown, the incremental field-based database synchronization method according to the embodiment of the present invention includes:

[0032] S100, select a preset data field from the source table as an increment field, and set...

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 中电云数智科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More