Method, device and system for writing data pairs in LevelDB databases

A data pair and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problem of low write performance of leveldb database, reduce thread waiting time, improve processing efficiency, and reduce write latency or the effect of the probability of occurrence of write blocking

Inactive Publication Date: 2017-05-17
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, this method provides a method, device and system for writing data pairs in a leveldb database, solves the problem of low writing performance of the leveldb database under high pressure, and improves the writing performance of the leveldb database

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, device and system for writing data pairs in LevelDB databases
  • Method, device and system for writing data pairs in LevelDB databases
  • Method, device and system for writing data pairs in LevelDB databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The core of the present invention is to provide a method, device and system for writing data pairs in the leveldb database, which solves the problem of low writing performance of the leveldb database under high pressure and improves the writing performance of the leveldb database.

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0040] Please refer to figure 1 , figure 1 It is a ...

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 computer data storage, in particular to a method, device and system for writing data pairs in LevelDB databases. The method provided herein comprises: configuring multiple LevelDB databases corresponding to multiple message queues; writing data pairs into one message queue; writing the data pairs of the message queue into the LevelDB database corresponding to the message queue, wherein before configuring the multiple databases corresponding to the multiple message queues, steps also are included which include: creating multiple catalogues, and configuring multiple catalogues corresponding to the multiple LevelDB databases, and wherein writing the data pairs into one message queue includes: allocating the data pairs among the multiple message queues through Hash algorithm, and determining the message queue which the data pairs are to be written in. The problem that writing performance of LevelDB databases under high stress is low is solved, and the writing performance of LevelDB databases is improved.

Description

technical field [0001] The invention relates to the technical field of computer data storage, in particular to a method, device and system for writing data pairs in a leveldb database. Background technique [0002] The leveldb database is a key-value storage engine library open sourced by Google. The data pairs mentioned in this application document are key-value pairs. When the leveldb database stores data, it is stored in order according to the recorded key values, that is to say Adjacent key values ​​are stored sequentially in the storage file, and the application can customize the key size comparison function, and the leveldb database will store these records in sequence according to the user-defined comparison function. [0003] In the field of data storage, there are many application scenarios of the leveldb database, and there will be some problems with low performance in the application process of the leveldb database: for example, in a large-scale write scenario, th...

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 ZHENGZHOU YUNHAI INFORMATION 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