Data processing method and device

A data processing and data technology, applied in the computer field, can solve a large amount of time, affect user experience, and affect the speed of data query, etc., to achieve the effect of improving query performance, shortening the reading path, and shortening the query path

Pending Publication Date: 2020-09-29
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional Lsm-Tree system, different data of the same key are usually distinguished in the form of multiple versions, which are identified by increasing version numbers. After the memory table is refreshed, there are still multiple versions of the data in the persistence layer. When querying data When searching from new to old layer by layer according to the writing order, until the desired data is found, this process may require more than one I / O, which seriously affects the speed of data query and greatly affects the user experience
[0004] In the prior art, it takes a lot of time to query data, and a simpler and more convenient method is needed for data processing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the specification. However, this specification can be implemented in many other ways different from those described here, and those skilled in the art can make similar extensions without violating the connotation of this specification, so this specification is not limited by the specific implementations disclosed below.

[0079] Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present specification refers t...

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 data processing method and device, and the method comprises the steps: receiving a reading request of to-be-queried data, wherein the reading request comprises a reading request serial number and a main key of the to-be-queried data; querying the primary key in a memory table; when the primary key is not queried in the memory table and the read request serial number meetsa first preset condition, querying the primary key in a row cache; and under the condition that the primary key is queried in the row cache, determining and returning a key value corresponding to theprimary key. By setting the row cache, judging the relationship between the read request and the serial number range maintained by the storage engine, querying the value corresponding to the key of the to-be-queried data in the row cache, and returning the value as the query result, the query path is effectively shortened, and the query performance is greatly improved.

Description

technical field [0001] This description relates to the field of computer technology, in particular to a data processing method. This specification also relates to a data processing device, a computing device, and a computer-readable storage medium. Background technique [0002] The log-structured merge-tree (Log-Structured Merge-Tree, Lsm-Tree) storage engine is the underlying index structure of many modern databases. The basic idea of ​​the index structure is to store the data change operation in the memory first, and when the data in the memory After the scale reaches a threshold, the data in the memory is written to the disk in batches and in an orderly manner, and the newly placed data and the old data are rolled and merged through a certain layered sorting algorithm. Wherein, in the LSM-tree index structure, data is stored in the form of key-value (Key-Value) pairs. Each key (Key) stores a corresponding value (Value), and the corresponding data value (also called a da...

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): G06F16/22G06F16/2453G06F16/248
CPCG06F16/2246G06F16/24539G06F16/248
Inventor 尚灿芳王剑英吴步文黄贵
Owner ALIBABA GRP HLDG 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