- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
MemoryEfficientHashJoins计算机论文概要总结.doc
Memory Efficient Hash Joins
高储存效率的哈希链接
翻译: 计科二班 泰泰
R. Barber G. Lohman I. Pandis V. Raman R. Sidle
IBM Research – Almaden G. Attaluri N. Chainani S. Lightstone D. Sharpe IBM Software Group
ABSTRACT摘要
We present new hash tables for joins, and a hash join based
on them, that consumes far less memory and is usually faster
than recently published in-memory joins.
我们提出了新型的哈希连接表和一个基于此的哈希连接.这种新连接占用了小的多的存储空间,并且还能够做到通常情况下快于近期发表的内存数据库哈希连接.
Our hash join is not restricted to outer tables that fit wholly in memory.Key to this hash join is a new concise hash table (CHT), a linear probing hash table that has 100% fill factor, and uses a sparse bitmap with embedded population counts to almost entirely avoid collisions.
我们的哈希连接并不局限于完全匹配于内存的的外部表.这个哈希连接的关键字是一种全新且简洁的哈希表(CHT)-------一个有着100%填充因子的线性探查的哈希表,并且使用了嵌入人口计数的稀疏位图来实现几乎完全避免碰撞.
This bitmap also serves as a Bloom filter for use in multi-table joins.
这个位图在多表连接中也做为布鲁姆过滤器.
We study the random access characteristics of hash joins,and renew the case for non-partitioned hash joins. We introduce a variant of partitioned joins in which only the build is partitioned, but the probe is not, as this is more efficient for large outer tables than traditional partitioned joins.
我们研究了这个哈希连接的随机访问,并且更新并更新了非分区哈希连接的情形.我们引进了一种分区连接的变种,其中,只有建立时分区.但探查并不是这样,因为这样做对于外部表相比传统的分区连接更有效率.
This also avoids partitioning costs during the probe, while at the same time allowing parallel build without latching overheads. Additionally, we present a variant of CHT, called a concise array table (CAT), that can be used when the key domain is moderately dense. CAT is collision-free and avoids storing join keys in the hash table.
这样也避免了探查时的分区开销,同时也允许无栓锁开销的平行构建.除此之外,我们提供了一种CHT的变种---------叫做简洁排列表(CAT).CAT可以在关键字区域是中等密度时使用.CAT是无碰撞的,而且可以避免在哈希表之中保存连接关键字.
We perform a detailed comparison of CHT and CAT against leading in-memory hash joins. Our experiments show that we can reduce the memory usage by one to three orders of magnitude, while also being competitive in performance.
我们用CHT
原创力文档


文档评论(0)