首页> 外国专利> Self-tuning histogram and database modeling

Self-tuning histogram and database modeling

机译:自我调整直方图和数据库建模

摘要

Building histograms by using feedback information about the execution of query workload rather than by examining the data helps reduce the cost of building and maintaining histograms. A method of maintaining self-tuning histograms updates histograms based on feedback about the execution of a user query. A histogram may be initialized using an assumption of uniform distribution of data or by combining existing histograms. A histogram tuner accesses and estimated result in response to a user query generated by using the histogram. The histogram tuner calculates an estimation error based on the result of the user query and the estimated result. The frequencies of histogram buckets are refined based on the estimation error. The bucket bounds of the histogram are restructured based on the refined frequencies. The method may be performed on-line after a user query or off-line by accessing a workload log. By updating a histogram without accessing the database, the cost of building and maintaining histograms is significantly reduced.
机译:通过使用有关查询工作负载执行的反馈信息来构建直方图,而不是通过检查数据来构建直方图,有助于降低构建和维护直方图的成本。维护自调整直方图的方法基于关于用户查询的执行的反馈来更新直方图。可以使用数据的均匀分布的假设或通过组合现有的直方图来初始化直方图。直方图调谐器响应于通过使用直方图生成的用户查询来访问和估计结果。直方图调谐器基于用户查询的结果和估计结果来计算估计误差。基于估计误差来细化直方图桶的频率。直方图的桶边界基于精炼的频率进行重构。该方法可以在用户查询之后在线执行或通过访问工作负载日志离线执行。通过更新直方图而不访问数据库,可以显着降低构建和维护直方图的成本。

著录项

  • 公开/公告号US6460045B1

    专利类型

  • 公开/公告日2002-10-01

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19990268589

  • 发明设计人 ASHRAF ABOULNAGA;SURAJIT CHAUDHURI;

    申请日1999-03-15

  • 分类号G06F170/00;

  • 国家 US

  • 入库时间 2022-08-22 00:47:18

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号