【24h】

Query sampling in DB2 Universal Database

机译:DB2通用数据库中的查询采样

获取原文

摘要

Executing ad hoc queries against large databases can be prohibitively expensive. Exploratory analysis of data may not require exact answers to queries, however: results based on sampling the data are often satisfactory. Supporting sampling as a primitive SQL operator turns out to be difficult because sampling does not commute with many SQL operators.In this paper, we describe an implementation in IBM® DB2® Universal Database (UDB) of a sampling operator that commutes with some SQL operators. As a result, the query with the sampling operator always returns a random sample of the answers and in many cases runs faster than it would have without such an operator.
机译:对大型数据库执行临时查询可能会非常昂贵。对数据的探索性分析可能不需要确切的查询答案,但是:基于数据采样的结果通常是令人满意的。将采样作为原始SQL运算符来支持变得很困难,因为采样不会与许多SQL运算符互换。在本文中,我们描述了在IBM®DB2®通用数据库(UDB)中实现与转换的采样运算符的实现。一些 SQL运算符。结果,使用采样运算符的查询总是返回答案的随机样本,并且在许多情况下,运行速度比没有该运算符时要快。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号