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

Data synchronous loading method based on database log

A data synchronization and data loading technology, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as random data time data inconsistency, reduce business system response time, occupy database processing performance, etc., and achieve response speed. The effect of increasing, increasing the loading rate, and reducing the backup burden

Inactive Publication Date: 2017-05-24
CHINA REALTIME DATABASE
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Taking the power business system as an example, there is a parent-child relationship, total-score relationship data tables and businesses among the headquarters, provinces (cities), and local business systems; but for different business system construction, the early planning is not perfect, resulting in The database versions of each business system are inconsistent, which causes the technical bottleneck of synchronizing the local data table to the provincial (city) business system data table. If the SQL copy of the data operation is simply performed, random data and time data will be inconsistent. If the data changes are obtained through triggers, the response time of the business system will be greatly reduced
The traditional database master-backup replication process is based on the database stream replication mode, and only the same type of database replication can be achieved. During the replication process, the processing performance of the database will be occupied and the response speed of the business system will be reduced.

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 synchronous loading method based on database log
  • Data synchronous loading method based on database log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0039] The method of the present invention is described below with an application example in a power grid business scenario such as a network province:

[0040] Table A exists in local power grid business system a, table B exists in local power grid business system b, and table C exists in provincial network business system c, and tables A, B, and C are in different databases respectively; The database where the database and table B are located is used as the two source databases, and the database where table C is located is used as the target database. The experimental results require that both table A and table B be changed to table C in real time;

[0041] The above-mentioned database can be other databases such as MySQL database or PostgreSQL database; for PostgreSQL database, it is first necessary to modify the log output level, and modify the code of the decoding module and the code of the receiving module, so as to save and format the output of the decoded WAL log result...

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 discloses a data synchronous loading method based on a database log. The method includes the steps that a data synchronous loading system is provided, wherein the system comprises a log streaming data analysis module, a data sending module, a data receiving and caching module, a data adaptation and recovery module and a data loading module, the log streaming data analysis module and the data sending module are arranged in a source-side database, the data receiving and caching module, the data adaptation and recovery module and the data loading module are arranged in a target-side database, the log streaming data analysis module is connected with the data sending module, the data sending module is connected with the data receiving and caching module, and the data receiving and caching module is connected with the data adaptation and recovery module and the data loading module; a log file generated in the database operation process is analyzed to obtain data operation motion, then data is sent to the target side in a network sending mode, and a corresponding analysis mode is selected to load the data according to the type of the target-side database. Thus, the purpose of different-database backup is achieved, the influence on a service system in the database backup process is effectively reduced, the flexibility of data backup is improved, and the reliability and consistency of the loaded data are improved.

Description

technical field [0001] The invention belongs to the technical field of data exchange, synchronization and data backup, and in particular relates to a data synchronous loading method based on a database log. Background technique [0002] With the continuous integration and in-depth analysis of various business systems, there is an urgent need for a new method for data synchronization between different database systems. Taking the power business system as an example, there is a parent-child relationship, total-score relationship data tables and businesses among the headquarters, provinces (cities), and local business systems; but for different business system construction, the early planning is not perfect, resulting in The database versions of each business system are inconsistent, which causes the technical bottleneck of synchronizing the local data table to the provincial (city) business system data table. If the SQL copy of the data operation is simply performed, random da...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/172G06F16/1815G06F16/273
Inventor 陈贤枭卢强王远
Owner CHINA REALTIME DATABASE
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