arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1502.07169cs.DBcs.DC
收藏

高速网络上的高速查询处理

High-Speed Query Processing over High-Speed Networks

Wolf Roediger, Tobias Muehlbauer, Alfons Kemper, Thomas Neumann

摘要:

现代数据库集群需要两个级别的网络:在小型服务器中连接CPU和NUMA区域,在大型服务器中连接多个服务器。这两种类型的网络之间的巨大性能差距曾经降低了分布式查询处理的速度,以至于机器集群的性能实际上比单个众核服务器更差。集群的主存容量增加仍然是这种横向扩展的唯一好处。InfiniBand等高速互连的经济可行性大大缩小了这一性能差距。然而,当分布式查询引擎保持不变时,仅凭InfiniBand的更高网络带宽并不能像预期的那样提高查询性能。分布式查询处理的可扩展性受到TCP开销、由于不协调的通信而引起的交换机争用以及由于经典交换操作符模型的可扩展性而导致的负载不平衡的损害。本文提出了一个分布式查询引擎,解决这些问题的蓝图,从整体上考虑这两个层次的网络。它由两部分组成:第一,混合并行性,区分本地和分布式并行性,以便在核心数量和服务器数量方面都具有更好的可扩展性。第二,一种新型的通信多路复用器,专为分析数据库工作负载量身定制,使用远程直接内存访问(RDMA)和低延迟网络调度进行高速通信,几乎没有CPU开销。使用TPC-H基准测试的HyperPer数据库系统内的广泛评估表明,我们的整体方法确实能够在高速网络上进行高速查询处理。

英文摘要:

Modern database clusters entail two levels of networks: connecting CPUs and NUMA regions inside a single server in the small and multiple servers in the large. The huge performance gap between these two types of networks used to slow down distributed query processing to such an extent that a cluster of machines actually performed worse than a single many-core server. The increased main-memory capacity of the cluster remained the sole benefit of such a scale-out. The economic viability of high-speed interconnects such as InfiniBand has narrowed this performance gap considerably. However, InfiniBand's higher network bandwidth alone does not improve query performance as expected when the distributed query engine is left unchanged. The scalability of distributed query processing is impaired by TCP overheads, switch contention due to uncoordinated communication, and load imbalances resulting from the inflexibility of the classic exchange operator model. This paper presents the blueprint for a distributed query engine that addresses these problems by considering both levels of networks holistically. It consists of two parts: First, hybrid parallelism that distinguishes local and distributed parallelism for better scalability in both the number of cores as well as servers. Second, a novel communication multiplexer tailored for analytical database workloads using remote direct memory access (RDMA) and low-latency network scheduling for high-speed communication with almost no CPU overhead. An extensive evaluation within the HyPer database system using the TPC-H benchmark shows that our holistic approach indeed enables high-speed query processing over high-speed networks.

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

↑