Sharding storage method for data, device and system

A data sharding and distributed storage technology, applied in digital transmission systems, transmission systems, data exchange networks, etc., can solve the problems of data shard A loss, inability to participate in recovery, and low efficiency of concurrent recovery, so as to improve availability Effect

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF5 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when all the data nodes where the same data shard is located are faulty, it may happen that the primary and backup data of the two data shards are stored on the same multiple nodes. For example, in the example in Table 1, the data Fragment A and data fragment C are stored in nodes 1, 2, and 3. When the three data nodes fail, data fragments A and C will be lost
In addition, when a single node fails, a new node needs to be formed through data recovery, and the efficiency of concurrent recovery is not high during data recovery. For example, in the example in Table 1, when node 6 fails, at most through A node that stores F, B, and E data fragments, such as nodes 3, 4, and 5, implements data recovery concurrently, while other nodes cannot participate in the recovery

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
  • Sharding storage method for data, device and system
  • Sharding storage method for data, device and system
  • Sharding storage method for data, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] In order to facilitate the understanding of the embodiments of the present invention, the system architecture of the distributed storage system to which the present invention is applied is firstly introduced. A distributed storage system stores data dispersedly on multiple independent devices. Traditional network storage systems use centralized storage servers to store all data. Storage servers become the bottleneck of system performance an...

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 field of distribution and especially relates to a technology of distributed sharding storage. The sharding storage method for data in a distributed storage system comprises the steps of determining M data nodes required for storing to-be-stored data; obtaining N copies of the to-be-stored data; carrying out sharding on each copy in the N copies according to the same sharding mode, thereby obtaining X data shards; storing the to-be-stored data in the M storage nodes, namely storing the N copies of each data shard in the X data shards in N storage nodes, wherein the number of the data shards of the data shard copies stored in the same N storage nodes is P or P+1, and the P is an integer quotient obtained by X / C [N ] [M ]. According to the distributed data sharding storage method provided by the invention, the data availability is improved, and the data recovery efficiency when faults occur in the nodes is improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of distributed storage, and more specifically, to a method, device and system for fragmented storage of data in a distributed storage system. Background technique [0002] With the rapid development of information technology, the amount of data in the information system database is increasing. In order to meet the storage requirements of large amounts of data, distributed storage systems running on multiple servers have been widely used. In a distributed storage system, multiple database systems run on multiple servers. When data is stored, it is necessary to shard the data first, and then assign different data shards to different servers for storage. Fragmentation is a horizontal scaling method that distributes a large data set to multiple data nodes, and all data nodes will form a logical database to store this large data set. Sharding is transparent to the user (application layer), and the ...

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): H04L29/08H04L12/24
CPCH04L41/0654H04L67/1001H04L67/1097H04L65/40G06F11/2082G06F11/2094
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