Data query method, device and system

A data query device and data query technology, applied in the field of databases, can solve problems such as slow data query speed and affecting data query speed, and achieve the effect of reducing cache requirements and improving query performance

Inactive Publication Date: 2016-09-28
HUAWEI TECH CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the above data query method based on CPU+FPGA heterogeneous platform, FPGA needs to decompress the entire data block and perform data query, which affects the speed of data query
[0008] Therefore, when the existing data query method encounters a large amount of query data, it needs to decompress a large amount of data and perform query operations on a large amount of data, and the data query speed is relatively slow.

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 query method, device and system
  • Data query method, device and system
  • Data query method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0040] figure 1 A schematic diagram of a system of data query in an embodiment of the present invention is shown, the system includes a CPU 110, an FPGA 120, a client 130, and a data storage unit 140, wherein the CPU includes a query analysis unit 111, a file analysis unit 112, and a column selection unit 113 and a cache unit 114 , the FPGA includes a data management and scheduling unit 121 , a decompression and data query unit 122 and a query result deter...

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 data query method, device and system. The data query method comprises the following steps: acquiring a condition column corresponding to a query condition in a query request and a target column corresponding to a query target in the query request from a compressed data block through the data query device, wherein the compressed data block is obtained through compressing an original data block by taking column width as a unit; determining a line mask corresponding to at least one continuous first compression record in the condition column according to the query condition; if determining that a second compression record in the condition column corresponds to at least one original record and the at least one original record is correspondingly same as an original record corresponding to the at least one continuous first compression record one by one, determining that a line mask corresponding to the second compression record comprises a line mask corresponding to the at least one continuous first compression record; and determining a query result corresponding to the query request according to the line mask corresponding to each compression record in the condition column and the target column, so as to improve the data query speed.

Description

technical field [0001] The present invention relates to the field of databases, more specifically, to a data query method, device and system. Background technique [0002] As the amount of data and the speed of data generation continue to grow, the amount of data that needs to be processed by database query operations increases exponentially, and the query delay continues to increase. Based on the growth of data volume and large-scale data analysis requests, columnar databases are getting more and more attention. [0003] For columnar database query requests, two commonly used methods are the data query method based on the central processing unit (Central Processing Unit, CPU) software platform and the heterogeneous platform based on CPU+field-programmable gate array (Field-Programmable Gate Array, FPGA). data query method. [0004] In the data query method based on the CPU software platform, the CPU reads the required data block from the disk to the memory, indexes the 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
IPC IPC(8): G06F17/30
CPCG06F16/24568
Inventor 李於彬汪玉田聃
Owner HUAWEI 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