基于偏移值编码的鲁棒高效排序
Robust and Efficient Sorting with Offset-Value Coding
摘要:
排序和搜索是数据库查询处理的大部分,例如,以索引创建、索引维护和索引查找的形式存在;并且比较键对是排序和搜索工作的重要部分。我们致力于简单,有效地实现几十年前,被忽视的,有效的快速比较和快速排序技术,特别是偏移值编码。在这个过程中,我们发现了它与运行文件中前缀截断的互利关系,以及行和列格式存储结构中压缩技术的二重性,即前缀截断和前导键列的行程长度编码。我们还发现了与排序流的消费者的有益关系,例如,合并并行流、流内聚合和合并联接。我们报告我们的实现在谷歌的纳帕和F1查询系统的背景下,以及性能和可扩展性的实验评估。
英文摘要:
Sorting and searching are large parts of database query processing, e.g., in the forms of index creation, index maintenance, and index lookup; and comparing pairs of keys is a substantial part of the effort in sorting and searching. We have worked on simple, efficient implementations of decades-old, neglected, effective techniques for fast comparisons and fast sorting, in particular offset-value coding. In the process, we happened upon its mutually beneficial relationship with prefix truncation in run files as well as the duality of compression techniques in row- and column-format storage structures, namely prefix truncation and run-length encoding of leading key columns. We also found a beneficial relationship with consumers of sorted streams, e.g., merging parallel streams, in-stream aggregation, and merge join. We report on our implementation in the context of Google's Napa and F1 Query systems as well as an experimental evaluation of performance and scalability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。