← Publications
conference2024ICORE 2026 CCORE 2023 CCCF CIndustry

Exploring Simple Architecture of Just-in-Time Compilation in Databases

Haoran Ning, Bocheng Han, Zhengyi Yang*, Kongzhang Hao, Miao Ma, Chunling Wang, Boge Liu, Xiaoshuang Chen, Yu Hao, Yi Jin, Wanchuan Zhang, Chengwei Zhang

Asia-Pacific Web and Web-Age Information Management Joint International Conference on Web and Big Data (APWeb-WAIM)

RAIDS Lab Authors

Details

Year
2024
Publisher
Springer
Track
Industry
Rankings
ICORE 2026 C · CORE 2023 C · CCF C

Research Area

Scalable Data Systems

Tags

Resources

Abstract

Just-in-Time (JIT) compilation is an effective technique for enhancing query execution in modern relational databases, and it has gained increasing attention from academia and industry in recent years. However, the architectures of state-of-the-art JIT-based database systems are often complex, leading to challenges and limitations when adopted for commercial use. In this paper, we present an industrial view to JIT compilation for relational databases, emphasizing practicality and applicability. Our focus is on minimizing engineering effort, simplifying testing, and ensuring seamless integration with existing database ecosystems. We achieve these goals by adhering to three core principles: a simple, lightweight architecture; reuse of existing technologies and frameworks, particularly LLVM; and strong extensibility and compatibility. We demonstrate the feasibility and potential of this approach through an initial exploration using LLVM's mature JIT compilation capabilities to translate TPC-H database queries into optimized machine code. This proof-of-concept implementation shows the promise of our approach, pivoting the way for a comprehensive database system that leverages a lightweight yet powerfu JIT compilation framework for real-world applications.

Author Affiliations

Haoran Ning
University of New South Wales
Bocheng Han
University of New South Wales
Zhengyi Yang
University of New South Wales
Kongzhang Hao
University of New South Wales
Miao Ma
University of New South Wales
Chunling Wang
Data Principles (Beijing) Technology Co.
Boge Liu
Data Principles (Beijing) Technology Co.
Xiaoshuang Chen
Data Principles (Beijing) Technology Co.
Yu Hao
Data Principles (Beijing) Technology Co.
Yi Jin
Data Principles (Beijing) Technology Co.
Wanchuan Zhang
Data Principles (Beijing) Technology Co.
Chengwei Zhang
Data Principles (Beijing) Technology Co.

BibTeX

@inproceedings{ning2024exploring,
  title = {Exploring Simple Architecture of Just-in-Time Compilation in Databases},
  author = {Ning, Haoran and Han, Bocheng and Yang, Zhengyi and Hao, Kongzhang and Ma, Miao and Wang, Chunling and Liu, Boge and Chen, Xiaoshuang and Hao, Yu and Jin, Yi and Zhang, Wanchuan and Zhang, Chengwei},
  editor = {Zhang, Wenjie and Tung, Anthony and Zheng, Zhonglong and Yang, Zhengyi and Wang, Xiaoyang and Guo, Hongjie},
  booktitle = {Web and Big Data},
  year = {2024},
  publisher = {Springer Nature Singapore},
  address = {Singapore},
  pages = {504--514},
  isbn = {978-981-97-7244-5}
}