Synchronous method, apparatus and system for distributed database

A data synchronization and database technology, applied in the database field, can solve problems such as inability to apply distributed databases, and achieve data synchronization, improve reliability and efficiency

Active Publication Date: 2010-09-08
HUAWEI TECH CO LTD
View PDF0 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The inventor finds in the process of realizing the present invention that the existing database synchronization method can only be applied to synchronizing from the master server to the standby server, or synchronizing from the master server to the user-side cache manager (the user-side cache

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
  • Synchronous method, apparatus and system for distributed database
  • Synchronous method, apparatus and system for distributed database
  • Synchronous method, apparatus and system for distributed database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0040] The distributed database in each embodiment of the present invention includes a central node, the central node is configured with a central database, and another one or more nodes, each node includes (or is configured with) a local database, hereinafter referred to as the first node and other node as an example.

[0041] In a specific embodiment, a distributed database synchronization method is provided, the method comprising: a first node updates a local database of the first node according to a user request, generates a synchronization operation message, and sends the synchronization operation message to a central node; The central node updates the central database according to the synchronization operation message sent by the first node, and generates a data synchronization identifier, feeds back the data synchronization identifier to the fir...

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 embodiment of the invention discloses synchronous method, apparatus and system for a distributed database. The synchronous method of the distributed database comprises the following steps of: updating a local database of a first node by the first node according to a user request, generating a synchronous operation message and sending the synchronous operation message to a central node; updating a central database by the central node according to the synchronous operation message sent by the first node, generating a data synchronous mark, feeding back the data synchronous mark to the firstnode and sending the synchronous operation message and the data synchronous mark to the other nodes; and updating the local database of the other nodes by the other nodes according to the synchronousoperation message. By adopting the embodiment of the invention, the data synchronization of the distributed database is more reliable and more effective.

Description

technical field [0001] The invention relates to database technology, in particular to a distributed database synchronization method, device and system. Background technique [0002] A distributed database system is composed of several stations. These stations are also called nodes or agents (Agent), and they are connected together in the communication network. Each node is an independent database system, including its own database, central processing unit, terminal and local database management system. A distributed database system can be seen as a combination of a series of centralized database systems, logically belonging to the same system, but physically distributed. From the user's point of view, a distributed database system is logically the same as a centralized database system. Users can execute global applications on any LAN, as if those data are stored on the same computer and managed by a database system. [0003] In order to ensure that users can enter, query ...

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): G06F17/30
Inventor 瓦嘎沙欧柯仁
Owner HUAWEI TECH CO LTD
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