Unlock instant, AI-driven research and patent intelligence for your innovation.

Data operation method and system of distributed database cluster

A data manipulation and database technology, applied in the field of database clusters, can solve problems such as reducing processing efficiency, difficult to ensure that users obtain correct data, data and database damage, etc.

Active Publication Date: 2015-12-30
北京农信数智科技有限公司
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The development of the Internet, especially the mobile Internet, has brought great challenges to traditional database data management. With the help of the Internet, data operations can be carried out at any time and place. The original centralized management database handles high concurrent transactions Capability and fault tolerance are difficult to guarantee the security and integrity of data
[0003] For example, for multiple remote nodes to perform data input and query operations at the same time, traditional centralized databases usually use read-write control to perform sequential operations, but this method reduces processing efficiency and seriously affects overall performance; Causes users to wait longer and degrades user experience
Therefore, in the prior art, a master-slave library method has further appeared to improve the efficiency of data operations. The master-slave library realizes concurrent reading and writing through backup and synchronization, but it also has obvious defects: the master-slave library can only guarantee different types of data operations Parallel processing, parallel processing of similar operations can easily cause data and database damage; the logic of parallel processing of read and write operations on the same data is complex, and it is difficult to ensure that users obtain correct data

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 operation method and system of distributed database cluster
  • Data operation method and system of distributed database cluster
  • Data operation method and system of distributed database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0036] In the prior art, the database cluster is configured in the form of a master-slave database, the master database is used to uniquely store authoritative database data, and the slave database exists as a backup of the master database. When the database cluster system in the prior art is working, the master database receives and processes write operations to realize addition, deletion and modification of data; the sl...

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 the technical field of database clusters and discloses a data operation method and system of a distributed database cluster. The method comprises the following steps: receiving a data operation request of a user, and identifying types of data operation; simultaneously setting a queue and a cache region; storing data of non-inquiry operation into the cache region while storing the non-inquiry operation into the queue; processing the non-inquiry operation by a primary library through the queue and returning an operation state message; processing inquiry operation by a secondary library, and extracting and filtering data which exist in the secondary library and the cache region at the same time from the cache region and the secondary library; and taking the filtered data as an inquiry result to be returned. According to the technical scheme, high-occurrence and safe data operation is realized through controlling the queue and the cache region.

Description

technical field [0001] The invention relates to the technical field of database clusters, in particular to a data operation method and system for distributed database clusters. Background technique [0002] The development of the Internet, especially the mobile Internet, has brought great challenges to traditional database data management. With the help of the Internet, data operations can be carried out at any time and place. The original centralized management database handles high concurrent transactions Both capacity and fault tolerance are difficult to guarantee the security and integrity of data. [0003] For example, for multiple remote nodes to perform data input and query operations at the same time, traditional centralized databases usually use read-write control to perform sequential operations, but this method reduces processing efficiency and seriously affects overall performance; It causes the user to wait longer and degrades the user experience. Therefore, 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): G06F17/30
CPCG06F16/2219G06F16/83G06F16/951
Inventor 赵万冬李玉福叶波庞雁婷程前
Owner 北京农信数智科技有限公司