Search International and National Patent Collections

1. (WO2018196729) QUERY PROCESSING METHOD, DATA SOURCE REGISTRATION METHOD AND QUERY ENGINE

Pub. No.:    WO/2018/196729    International Application No.:    PCT/CN2018/084183
Publication Date: Fri Nov 02 00:59:59 CET 2018 International Filing Date: Wed Apr 25 01:59:59 CEST 2018
IPC: G06F 17/30
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: ZHOU, bing
周炳
XUE, Wenwei
薛文伟
LEUNG, Ting Yu Cliff
梁定裕
LI, Tao
李韬
Title: QUERY PROCESSING METHOD, DATA SOURCE REGISTRATION METHOD AND QUERY ENGINE
Abstract:
Disclosed is a query processing method, comprising: performing logical plan decomposition on an SQL according to data source feature information so as to obtain a logical plan set, the data source feature information being stored in an internal data source feature base of a query engine, and the internal data source feature base being stored in a cache space of the query engine; performing physical plan generation on the logical plan set according to the data source feature information so as to obtain a physical plan set; performing query cost decision-making on the physical plan set according to the data source feature information so as to obtain a physical plan with the highest priority; and executing the physical plan with the highest priority so as to obtain a query result queried by a user. Further disclosed are a data source registration method and a query engine, and by means of the embodiments of the present application, the performance of a query engine can be improved.