现代数据库中即时编译的实证分析
An Empirical Analysis of Just-in-Time Compilation in Modern Databases
AI总结:
本文针对数据库JIT编译技术,对比基于LLVM的PostgreSQL与基于WASM的Mutable两种架构,通过全面实验探究不同JIT方案的性能表现与技术特点。
摘要:
JIT(即时编译)技术因提升数据库执行效率而备受关注。与传统执行引擎相比,它通过消除解释开销实现更高性能。LLVM是主流JIT架构,自PostgreSQL 11版本起在该数据库中实现。然而,基于WASM的数据库(如Mutable)的最新进展提供了另一种JIT方案,该方案减少了执行引擎相关的大量工程投入,专注于优化支持的算子以实现更低延迟和更高吞吐量。本文对这两个代表性开源数据库开展全面实验,以更深入地了解不同JIT架构的有效性。
英文摘要:
JIT (Just-in-Time) technology has garnered significant attention for improving the efficiency of database execution. It offers higher performance by eliminating interpretation overhead compared to traditional execution engines. LLVM serves as the primary JIT architecture, which was implemented in PostgreSQL since version 11. However, recent advancements in WASM-based databases, such as Mutable, present an alternative JIT approach. This approach minimizes the extensive engineering efforts associated with the execution engine and focuses on optimizing supported operators for lower latency and higher throughput. In this paper, we perform comprehensive experiments on these two representative open-source databases to gain deeper insights into the effectiveness of different JIT architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。