首页> 外国专利> Cardinality Statistic for Optimizing Database Queries with Aggregation Functions

Cardinality Statistic for Optimizing Database Queries with Aggregation Functions

机译:使用聚合函数优化数据库查询的基数统计

摘要

Embodiments of the invention provide techniques for generating predicted cardinality statistics for grouped aggregation functions included in database queries. In general, characteristics of a database query are determined, and are then supplied to a probability function configured to generate a predicted cardinality statistic. The generated statistic represents a prediction of the probable cardinality of the results of a grouped aggregation function in the event that the query is executed. The predicted cardinality statistic may be used by a query optimizer to determine an efficient query plan for executing the database query.
机译:本发明的实施例提供了用于为包括在数据库查询中的分组的聚合函数生成预测的基数统计的技术。通常,确定数据库查询的特征,然后将其提供给配置为生成预测基数统计信息的概率函数。所生成的统计信息表示在执行查询的情况下对分组聚合函数的结果的可能基数的预测。查询优化器可以使用预测的基数统计信息来确定用于执行数据库查询的有效查询计划。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号