首页> 外国专利> QUERY PROCESSING USING LOGICAL QUERY STEPS HAVING CANONICAL FORMS

QUERY PROCESSING USING LOGICAL QUERY STEPS HAVING CANONICAL FORMS

机译:使用具有规范形式的逻辑查询步骤查询处理

摘要

A query processing device includes a communication interface accessing a database and database catalog, a memory storing instructions, and a processor coupled to the memory and the communication interface. The processor executes the instructions to parse a query and generate first and second execution plans for the query, retrieve respective previously determined cardinality values for previously executed logical steps of the first and second execution plans from the database catalog, select an execution plan from the first execution plan or the second execution plan, the selected execution plan having a lower cost based on the previously determined cardinality values, and execute the selected execution plan on data accessed from the database. The query processing system stores actual cardinality values determined during the execution of the logical steps in the database catalog for use by subsequent queries. The query processing device, therefore, re-uses previously determined cardinality values.
机译:查询处理设备包括访问数据库和数据库目录的通信接口,存储器存储指令和耦合到存储器和通信接口的处理器。处理器执行解析查询并生成查询的第一和第二执行计划的指令,从数据库目录中检索先前执行的先前执行的先前执行的逻辑步骤的相应的先前确定的基数值,从第一个中选择执行计划执行计划或第二执行计划,所选的执行计划基于先前确定的基数值具有较低的成本,并在从数据库访问的数据上执行所选择的执行计划。查询处理系统存储在执行数据库目录中的逻辑步骤期间确定的实际基数值,以供后续查询。因此,查询处理设备重新使用先前确定的基数值。

著录项

  • 公开/公告号US2022004551A1

    专利类型

  • 公开/公告日2022-01-06

    原文格式PDF

  • 申请/专利权人 FUTUREWEI TECHNOLOGIES INC.;

    申请/专利号US202117446679

  • 发明设计人 AHMAD GHAZAL;RON-CHUNG HU;MINGYI ZHANG;

    申请日2021-09-01

  • 分类号G06F16/242;G06F16/2455;G06F16/22;

  • 国家 US

  • 入库时间 2022-08-24 23:14:56

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号