Batch data query method and device

A batch data and query method technology, applied in the field of data warehouse query optimization, can solve the problems of low efficiency of big data query and query
CN105677683AActive Publication Date: 2016-06-15HUAWEI TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Publication Date
2016-06-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a batch data query method and a device. The method comprises following steps: obtaining multiple logic inquiry plan trees corresponding to multiple query statements; diving multiple query groups by all operators of each logical query plan tree, wherein logical query plan trees of each query group are in the relationships as follows: inter-query write-read dependency relationships; overlapping relationships between operators or operand overlapping relationships; optimizing inter-query logical query plan trees of each query group and generating multiple corresponding physical query plan trees based on multiple optimized query plan trees; and finally, executing physical obtaining query results of multiple sentences based on multiple physical query plan trees. The method helps to increase optimization opportunities between logical plan trees in query groups by grouping the multiple logical query plan trees. By performing inter-query optimization on the logical query trees of query groups, efficiency of batch data query is increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiment of the present invention relates to data warehouse query optimization technology, in particular to a batch data query method and device. Background technique

[0002] At present, representative big data query systems (such as: Hive, Shark, Impala) all use a single query statement as the basic unit of parsing and optimization. The basic query processing flow is as follows: First, parse the read single query statement into a tree The logical query plan tree of the structure, and then, by selecting and implementing the algorithm for each operator of the logical query plan tree, and determining the execution order of these operators, the logical query plan tree is converted into a physical query plan, and finally, the query execution engine Execute the physical query plan and output the query result.

[0003] A key performance of a big data query system is query efficiency. At present, the commonly used method to improve the query efficienc...

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