首页> 外文会议>International conference on database and expert systems applications;DEXA 2011 >Join Selectivity Re-estimation for Repetitive Queries in Databases
【24h】

Join Selectivity Re-estimation for Repetitive Queries in Databases

机译:数据库中重复查询的联接选择性重新估计

获取原文

摘要

Repetitive queries refer to those queries that are likely to be executed repeatedly in the future. Examples of repetitive queries include those that are used to generate periodic reports, perform routine maintenance, summarize data for analysis, etc. They can constitute a large part of daily activities of the database system and deserve more optimization efforts. In this paper, we propose to collect information about joins of a repetitive query, called the trace, during execution. We intend to use this information to re-estimate selectivities of joins in all possible execution orders. We discuss the information needed to be kept for the joins and design an operator, called the extended full outer join, to gather such information. We show the sufficiency of the traces in computing the exact selectivities of joins in all plans of the query. With the exact selectivities of joins available, the query optimizer can utilize them to find truly the best join order for the query in its search space, guaranteeing "optimal" execution of the query in the future.
机译:重复查询是指将来可能会重复执行的那些查询。重复查询的示例包括那些用于生成定期报告,执行例行维护,汇总数据以进行分析等的查询,它们可以构成数据库系统日常活动的很大一部分,应进行更多的优化工作。在本文中,我们建议在执行期间收集有关重复查询(称为跟踪)的联接的信息。我们打算使用此信息来重新估计所有可能的执行顺序中联接的选择性。我们讨论了联接所需的信息,并设计了一个操作员(称为扩展的完全外部联接)来收集此类信息。我们显示了在查询的所有计划中计算连接的确切选择性时跟踪的充分性。有了可用的精确连接,查询优化器可以利用它们来在其搜索空间中为查询找到真正的最佳连接顺序,从而保证将来查询的“最佳”执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号