arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.13107cs.DB
收藏

Blitzcrank:面向内存在线事务处理的快速语义压缩

Blitzcrank: Fast Semantic Compression for In-memory Online Transaction Processing

Yiming Qiao, Yihan Gao, Huanchen Zhang

AI总结:

本文提出面向 OLTP 行存储的高速语义压缩器 BLITZCRANK,通过支持动态值集合的语义模型和延迟编码算法,在 TPC-C 评测中实现 85% 内存减少且仅损失 19% 吞吐量。

摘要:

我们提出 BLITZCRANK,一种为 OLTP 数据库设计的高速语义压缩器。现有方案在压缩行存储方面存在不足:要么因压缩粒度较粗而导致压缩因子较低,要么因处理动态数据集效率低下而导致性能欠佳。为解决这些问题,我们首先提出新颖的语义模型,支持快速推理和面向离散与连续数据类型的动态值集合。随后,我们引入一种新的熵编码算法,称为延迟编码(delayed coding),与现代算术编码实现相比,在解码速度上取得了显著提升。我们在独立微基准测试和使用 TPC-C 基准的多核内存行存储中评估了 BLITZCRANK。结果表明,BLITZCRANK 在解压随机元组时实现了亚微秒级延迟,同时获得了较高的压缩因子。在 TPC-C 评估中,这带来了 85% 的内存减少,以及适度的(19%)吞吐量下降。对于大于可用物理内存的数据集,BLITZCRANK 帮助数据库在 I/O 开销占据主导之前,为更多事务维持较高吞吐量。

英文摘要:

We present BLITZCRANK, a high-speed semantic compressor designed for OLTP databases. Previous solutions are inadequate for compressing row-stores: they suffer from either low compression factor due to a coarse compression granularity or suboptimal performance due to the inefficiency in handling dynamic data sets. To solve these problems, we first propose novel semantic models that support fast inferences and dynamic value set for both discrete and continuous data types. We then introduce a new entropy encoding algorithm, called delayed coding, that achieves significant improvement in the decoding speed compared to modern arithmetic coding implementations. We evaluate BLITZCRANK in both standalone microbenchmarks and a multicore in-memory row-store using the TPC-C benchmark. Our results show that BLITZCRANK achieves a sub-microsecond latency for decompressing a random tuple while obtaining high compression factors. This leads to an 85% memory reduction in the TPC-C evaluation with a moderate (19%) throughput degradation. For data sets larger than the available physical memory, BLITZCRANK help the database sustain a high throughput for more transactions before the l/O overhead dominates.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑