Paper Reading预告|Efficient Query Processing with Optimistically Compressed Hash Tables & Strings in the USSR

【背景】
Paper Reading 是 TiDB 社区的小伙伴分享研读数据库、分布式等相关领域的论文心得的活动。
通过直播,向大家探讨分享论文的内容和启发点、创新点。
2021 年 9 月 7 日 19 时,TiDB 计算引擎研发工程师徐怀宇将于 Zoom 分享 Paper KVSSD: Close integration of LSM trees and flash translation layer for write-efficient KV store,欢迎大家报名参加。

【报名】
微信扫码 -> 点击报名 -> 报名成功,加入交流群
getQrcode-1

【分享内容】
论文中介绍的 3 种优化思路总结出来其实很简单,希望听众能够从中得到启发,在自己的工程系统中可以进行类似的实践。
【论文内容简介】
该 paper 获得了 ICDE 2020 best paper award。
哈希表在查询引擎中,是一个极为常见的数据结构,该 paper 的主要内容是提出了 3 种正交的哈希表压缩技术,以提升哈希表的访问性能:Domain-guided prefix suppression,Optimistic splitting, Unique Strings self-aligned Region (USSR)。
【论文摘要】
Modern query engines rely heavily on hash tables for query processing. Overall query performance and memory footprint is often determined by how hash tables and the tuples within them are represented. In this work, we propose three complementary techniques to improve this representation: Domain-Guided Prefix Suppression bit-packs keys and values tightly to reduce hash table record width. Optimistic Splitting decomposes values (and operations on them) into (operations on) frequently-accessed and infrequently-accessed value slices. By removing the infrequently-accessed value slices from the hash table record, it improves cache locality. The Unique Strings Selfaligned Region (USSR) accelerates handling frequently-occurring strings, which are very common in real-world data sets, by creating an on-the-fly dictionary of the most frequent strings. This allows executing many string operations with integer logic and reduces memory pressure. We integrated these techniques into Vectorwise. On the TPC-H benchmark, our approach reduces peak memory consumption by 2–4× and improves performance by up to 1.5×. On a real-world BI workload, we measured a 2× improvement in performance and in micro-benchmarks we observed speedups of up to 25×

【资料下载入口】
Paper 地址:https://t1mm3.github.io/assets/papers/icde20.pdf

PPT:待上传

关于这篇文章有任何问题欢迎在评论区提问,届时讲师会在直播中进行解答~

1赞