首页> 外国专利> Method for query optimization in distributed query engine and apparatus thereof

Method for query optimization in distributed query engine and apparatus thereof

机译:分布式查询引擎中查询优化的方法及其装置

摘要

Embodiments of the present invention relate to a method and apparatus for optimizing a query in a distributed query engine. A query optimization method according to an embodiment of the present invention includes a step of establishing a query plan based on a query; a step of classifying data, which is to be included in the result data of an upper operation among the result data of a lower operation, into first data used for intermediate operations existing between the lower operation and the upper operation and second data that is not used for the intermediate operations on the basis of the established query plan; and a step of modifying the query plan such that the second data is not an input value for the intermediate operations. According to the embodiments of the present invention, it is possible to reduce the amount of data redistributed in the query process.
机译:本发明的实施例涉及一种用于在分布式查询引擎中优化查询的方法和装置。根据本发明实施例的查询优化方法,包括:基于查询建立查询计划的步骤;将下位运算的结果数据中要包括在上位运算的结果数据中的数据分类为用于存在于下位运算和上位运算之间的中间运算的第一数据和不属于下位运算的第二数据的步骤根据已建立的查询计划用于中间操作;修改查询计划,以使第二数据不是中间操作的输入值的步骤。根据本发明的实施例,可以减少在查询处理中重新分配的数据量。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号