首页> 外国专利> Distinct sampling system and a method of distinct sampling for optimizing distinct value query estimates

Distinct sampling system and a method of distinct sampling for optimizing distinct value query estimates

机译:用于优化不同值查询估计的不同采样系统和不同采样方法

摘要

For use with a database that accommodates distinct value queries having predicates, a distinct sampling system and a method of distinct sampling. In one embodiment, the distinct sampling system includes a scanning subsystem that is configured to scan each row in the database for a distinct target attribute, employ a hash function to map the distinct target attribute to an attribute priority level, maintain random samples of each row based on a sample priority level and a sample size, and produce a distinct sample therefrom. The distinct sampling system further includes a distinct query estimator that is configured to receive the distinct value queries, cause the distinct value queries to be executed on the distinct sample to retrieve a result, and adjust the result to produce a distinct estimate therefrom.
机译:与容纳谓词的不同值查询的数据库一起使用时,需要使用不同的采样系统和不同的采样方法。在一个实施例中,独特采样系统包括扫描子系统,该扫描子系统被配置为扫描数据库中的每一行以寻找独特目标属性,采用哈希函数将独特目标属性映射到属性优先级,维护每一行的随机样本基于样本优先级和样本大小,并从中产生不同的样本。独特采样系统还包括独特查询估计器,其被配置为接收独特值查询,使独特值查询在独特样本上执行以检索结果,并调整结果以从中产生独特估计。

著录项

  • 公开/公告号US7047230B2

    专利类型

  • 公开/公告日2006-05-16

    原文格式PDF

  • 申请/专利权人 PHILLIP B. GIBBONS;

    申请/专利号US20020237993

  • 发明设计人 PHILLIP B. GIBBONS;

    申请日2002-09-09

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 21:43:13

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号