Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for optimizing data storage structure of key value database

A data storage and database technology, applied in the computer field, can solve problems such as inability to optimize data storage, etc.

Active Publication Date: 2017-11-17
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, at present, the data obtained when monitoring the key-value table is only information such as the storage space occupied by a certain row of data in the key-value table or the frequency of reading and writing, and it is impossible to optimize data storage based on the obtained data

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 apparatus for optimizing data storage structure of key value database
  • Method and apparatus for optimizing data storage structure of key value database
  • Method and apparatus for optimizing data storage structure of key value database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] figure 1 An exemplary system architecture 100 of an embodiment of the method for optimizing the data storage structure of a key-value database or the device for optimizing the data storage structure of a key-value database of the present application is shown.

[0029...

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 discloses a method and an apparatus for optimizing a data storage structure of a key value database. The concrete embodiment of the method comprises reading a preset number of keywords from a database and analyzing each keyword which is read until all the keywords of the database are analyzed to achieve a prefix list, acquiring a number of prefix keywords of the hit prefix list and storage space, and optimizing a database data storage structure according to the prefix keywords and the storage space of the hit prefix list. The embodiment method can improve database storage performance and accelerate database reading efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to a method and device for optimizing the data storage structure of a key-value database. Background technique [0002] As the complexity of the distributed data storage business becomes higher and higher, in order to avoid excessive reading pressure on a single shared memory, the shared storage device can be load-balanced through hash (hash) and other algorithms, but this also brings The number of key-value tables has increased dramatically. [0003] At present, when monitoring key-value tables in distributed data storage, it is common to obtain all keywords and display the storage space and data structure of keywords one by one, or obtain the storage space and data structure of keywords for user-specified keywords, and Or monitor the application's read and write keywords online in real time, and analyze usage condi...

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): G06F17/30
CPCG06F16/22
Inventor 黄肖明
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products