Method and device for processing data as well as data storage system based on key value data base

A data storage system and data processing technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of large number of jumps, affecting the life of the disk, low file access efficiency of the database, etc., to reduce jumps The effect of times

Active Publication Date: 2013-07-03
BEIJING JINGDONG CENTURY TRADING CO LTD
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In common databases at present, data entry generally all has very big quantity, causes the metadata block that often has multiple data entries to need to be saved on the same position of same index file, thereby above-mentioned skip times is huge, storage device The disk pointer moves frequently, resulting in low file access efficiency of the database and affecting disk life

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
  • Method and device for processing data as well as data storage system based on key value data base
  • Method and device for processing data as well as data storage system based on key value data base
  • Method and device for processing data as well as data storage system based on key value data base

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0034] In the embodiment of the present invention, adopt similar figure 1 The basic structure of the storage system is shown, but in the index file, slots are used to hold metadata blocks for data entries. The slot has a fixed size and is used to store a certain number (for example, 1000) of metadata blocks, which can be regarded as a collection of metadata blocks. So in...

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 provides a method and a device for processing data as well as a data storage system based on a key value data base. The method, the device and the system can improve the file access efficiency of the key value data base and can prolong the service life of a magnetic disc. The method comprises the steps as follows: slots corresponding to key names of data items to be stored at present are looked up in an index file according to corresponding relations between preset slots and the key names of the data items; metadata blocks of the data items to be stored at present are stored in the slots; in the corresponding relations, one slot corresponds to key names of a plurality of data items; the number of data items which correspond to one slot is preset, each slot comprises a recording area used for recording addresses of expansion slots connected to the slot; and under the condition that the slot is full, metadata blocks of data items to be stored at present are stored in expansion slots, which are not full, of the slot.

Description

technical field [0001] The invention relates to a data processing method and device based on a key-value database and a data storage system. Background technique [0002] A key-value database is a commonly used database in which data entries are stored in a key-value (Key-Value) manner. In the case of storing massive amounts of data, usually using figure 1 shown in the form of the storage system, figure 1 It is a schematic diagram according to the basic structure of the storage system in the prior art. Such as figure 1 As shown, the storage system 10 is divided into a plurality of storage units 11, 12...1N, and each storage unit includes index files and data files. The metadata blocks of multiple data entries are saved in the index file, and the key values ​​of multiple data entries are saved in the data file. As data entries are saved, the size of the data file also increases. In order to prevent a single data file from being too large, you can set the size of the dat...

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): G06F17/30
Inventor 唐平崔大莲樊奕峰
Owner BEIJING JINGDONG CENTURY TRADING 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