Supercharge Your Innovation With Domain-Expert AI Agents!

A kind of optimization method, device and computer equipment of LSM tree

A technology of LSM tree and optimization method, which is applied in the field of data processing, can solve problems such as data reading performance degradation, and achieve the effect of improving data access efficiency

Active Publication Date: 2020-05-12
BEIJING OCEANBASE TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the LSM tree stores the modification increments of the data, when there are a large number of modification increments used to indicate that the data has been deleted in the LSM tree, it is necessary to traverse a large amount of useless data in the process of reading the data. Valid data is read, which also leads to a decrease in data reading performance

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
  • A kind of optimization method, device and computer equipment of LSM tree
  • A kind of optimization method, device and computer equipment of LSM tree
  • A kind of optimization method, device and computer equipment of LSM tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of this specification, the technical solutions in the embodiments of this specification will be described in detail below in conjunction with the drawings in the embodiments of this specification. Obviously, the described implementation Examples are only some of the embodiments in this specification, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this specification shall fall within the scope of protection.

[0024] The LSM tree is a hard disk-based data structure, and its representative databases include Hbase, NessDB, LevelDB, etc. The storage engine of the LSM tree is the same as the storage engine of the B+ tree, and it also supports addition, deletion, reading, modification, and sequential scanning operations, and it can effectively avoid the problem of disk random writing through batch stor...

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

Disclosed are an LSM tree optimization method and device and a computer equipment, the method comprising: determining a target leaf node for which indicated data has already been deleted in an LSM tree; and adding a deletion tag for the target leaf node in dynamic data of the LSM tree.

Description

technical field [0001] The embodiments of this specification relate to the technical field of data processing, and in particular to a method, device and computer equipment for optimizing an LSM tree. Background technique [0002] The LSM tree (Log-Structured Merge Tree, log-structured merge tree) is a data structure based on a hard disk, which includes dynamic data and static data, and the dynamic data and static data store the modified increment of data. During the process of accessing the LSM tree, its dynamic data and static data are read sequentially, and the read results are combined to obtain the final read result. [0003] Since the LSM tree stores the modification increments of the data, when there are a large number of modification increments used to indicate that the data has been deleted in the LSM tree, it is necessary to traverse a large amount of useless data in the process of reading the data. Effective data is read, which also leads to a decrease in data rea...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/215G06F16/23
CPCG06F16/00
Inventor 阳振坤席华锋韩富晟肖金亮
Owner BEIJING OCEANBASE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More