Distributed database system and data accessing method

A database and distributed technology, applied in the database field, can solve the problem that the database is difficult to meet real-time data access operations, and achieve the effect of improving data access efficiency and satisfying real-time data access operations

Active Publication Date: 2012-08-22
HUAWEI TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the number of users continues to increase, this real-time application brings more and more real-time data access operations, and it is increasingly difficult for existing databases to meet the needs of such real-time data access operations.

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
  • Distributed database system and data accessing method
  • Distributed database system and data accessing method
  • Distributed database system and data accessing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] figure 1 It is a logical structural block diagram of the distributed database system 100 according to an embodiment of the present invention. Such as figure 1 As shown, the distributed database system 100 includes a plurality of storage nodes 102 - 106 , an access control device 108 and a dump device 110 .

[0021] Each of the storage nodes 102-106 stores multiple data records, and each data record is uniquely identified by a record identifier of the data record.

[0022] Specifically, each storage node maintains a storage mapping table, and the storage mapping table records the correspondence between the record identifier of each data record and the storage location of the data record in the storage node, where the record The identifier can uniquely identify the data record to which the record identifier belongs. In the specific implementation process, when a data table is used to store data records, the storage mapping table can adopt, for example but not limited t...

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 provides a distributed database system, which comprises storage nodes, an access control device and an unloading device, wherein the access control device is used for receiving access requests, extracting record identifiers from the access requests, searching for the storage nodes corresponding to the record identifiers from a storage comparison table, updating theaccessing times of data records with the record identifiers, acquiring the corresponding data records from the storage nodes according to the record identifiers, and returning the acquired data records; and the unloading device is used for determining the accessing times according to the accessing times of each data record corresponding to the storage nodes in the storage comparison table, and when determining the storage nodes are overloaded according to the accessing times of the storage nodes by using a preset pressure algorithm, selecting the data records from the plurality of data records of the storage nodes according to a preset unloading strategy, unloading the selected data records into the other storage nodes which are not overloaded, and updating the storage comparison table. The invention also provides a data accessing method. The embodiment of the invention can satisfy the needs of real-time data accessing operation.

Description

technical field [0001] The invention relates to database technology, in particular to a distributed database system and a data access method. Background technique [0002] Database is the cornerstone of modern information system, which is widely used in various computing systems to simplify data storage and access. Databases usually use specific models to describe and organize data. Currently common databases are disk databases built on the basis of a relational data model. This type of disk database can implement unified data addition, deletion, modification, and query operations through structured query languages. The data is eventually saved to the file system. [0003] Today's telecom operators are increasingly competitive. In order to gain an advantage in the competition, telecom operators have made a lot of efforts in terms of real-time services, such as purchasing a large number of database systems to improve the speed of data storage and access to support real-tim...

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 Patents(China)
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