Data storage method and device

A technology for data storage and equipment, applied in the direction of protecting storage content from loss, program control devices, etc., can solve the problem that the storage system cannot take into account the performance of reading and writing, achieve both reading and writing performance, avoid writing bottlenecks, and improve writing speed Effect

Active Publication Date: 2015-11-25
HUAWEI TECH CO LTD +1
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data storage method and device to solve the technical problem that the existing data copy storage system cannot take into account the read and write performance to a certain extent

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 storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

example

[0079] In the embodiment of the present invention, in order to enable the disk array to support the example method of the present invention, the disk array needs to be initialized in advance, including:

[0080] During the initialization process, format each primary disk and each backup disk into an arbitrary file system; and create an LSM system on each primary disk, for example, the key-value storage system LevelDB; The disk is divided into two storage areas, where an LFS is created in the first storage area; a B+ tree system is created in the second storage area, such as a key-value storage system BDB. Make it possible to follow up: write the first copy of the data to be stored into the LevelDB of the primary storage subsystem, write the second copy of the data to be stored into the LFS of the backup storage device, and, in the synchronization process , write the read inconsistent data into the BDB of the backup storage device.

[0081] In the above, this embodiment is des...

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

A data storage method and device, used for solving to some extent a technical problem that an existing storage system in a data duplication manner cannot provide both desirable read and write performance. In some feasible implementation manners, the method comprises: writing a first duplicate of data to be stored into multiple main storage devices in a main storage subsystem in a first data organization manner, and writing a second duplicate of the data to be stored into an on-duty backup storage device in a backup storage subsystem in a second data organization manner, the on-duty backup storage device being the only backup storage device in a working state (110); and reading data that is stored in the main storage device corresponding to the on-duty backup storage device and is inconsistent with that in the on-duty backup storage device, and writing the read inconsistent data into the on-duty backup storage device in a third data organization manner (120), wherein the first data organization manner and the second data organization manner are write-optimized, the write speed in the second data organization manner is faster than that in the first data organization manner, and the third data organization manner is read-optimized.

Description

technical field [0001] The invention relates to the technical field of computer and storage, in particular to a data storage method and device. Background technique [0002] The advancement of digital technology and the development of storage technology have spawned massive amounts of data, which need to be stored in a storage system in a certain organizational form. In the entire life cycle of data from generation to extinction, there are different input and output (input / output, I / O) access characteristics at different stages; for example, in the data generation stage, data needs to be written to the storage system at high speed; In the analysis phase, data needs to be read or scanned at high speed to participate in calculations. [0003] In order to improve storage reliability, storing data in replicas is increasingly accepted. Replicas are the future of data redundancy. A typical scenario of data copy is a disk array (Redundant Arrays of Independent Disks, RAID, full ...

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): G06F9/44
CPCG06F12/16
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