Data query method, device, computer equipment and storage medium

A data query and query plan technology, applied in the computer field, can solve problems such as lack of flexibility, and achieve the effect of improving flexibility

Active Publication Date: 2022-02-08
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF26 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, current databases usually have only one query engine, resulting in a lack of flexibility when executing queries

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, computer equipment and storage medium
  • Data query method, device, computer equipment and storage medium
  • Data query method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the present 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 the present application, and are not intended to limit the present application.

[0028] In one embodiment, in the data query method or device disclosed in this application, the computing nodes and one or more storage nodes in the database server can form a block chain, and the computing nodes and storage nodes can be used as blocks nodes on the chain.

[0029] In one embodiment, the data query method provided by the embodiment of the present application, wherein the data in the database can be saved on the block chain.

[0030] The data query method provided by the embodiment of this application can be applied to such as figure 1 shown in the applica...

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 present application relates to a data query method, device, computer equipment, storage medium and computer program product. The method includes: obtaining an initial query plan and a new query plan corresponding to the data organization unit to be queried; the new query plan is obtained by converting the data structure of the initial query plan based on the data structure required by the new query engine; The added query engine reads the data records in the data organization unit, and processes the read data records according to the newly added query plan; if the current resource status of the database server satisfies the engine switching condition, the processing of the currently read data records is completed Finally, switch to read the subsequent data records corresponding to the currently read data records in the data organization unit through the native query engine, and process the read subsequent data records according to the initial query plan. Adopting this method can improve the flexibility when executing the query.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data query method, device, computer equipment, storage medium and computer program product. Background technique [0002] With the development of computer technology, database technology has appeared. The database server can receive the query request sent by the user, and generate a query plan for the query statement in the query request. When executing the query plan, the database server usually reads the data in the database through the query engine. , and process it according to the generated query plan. [0003] However, current databases usually have only one query engine, resulting in a lack of flexibility when executing queries. Contents of the invention [0004] Based on this, it is necessary to provide a data query method, device, computer equipment, storage medium and computer program product that can improve the flexibility of query execution in order ...

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/2455
CPCG06F16/24553
Inventor 熊亮春
Owner TENCENT TECH (SHENZHEN) 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