io_uring in Oracle Database: A Hybrid Storage I/O Architecture at Production Scale
Rajarshi Chowdhury, Akshay Shah, Margaret Susairaj, Ayush Agrawal
Abstract
We describe the integration of iouring into Oracle Database's storage layer and the architectural decisions required to deploy it in a production multi-process RDBMS. Our design uses per-process ring contexts that eliminate inter-process synchronization, a shared buffer registration mechanism now part of the mainline Linux kernel, and a transparent fallback to libaio on error. Evaluation on an internal development build of Oracle Database 26ai shows that iouring's benefits concentrate on asynchronous batched I/O paths: on a mixed OLTP workload (TPC-C), iouring delivers identical throughput while reducing server CPU utilization by 1.2 percentage points through more efficient background writes; on analytical queries (TPC-H), CPU per query drops by 8.5% (geometric mean). Isolating the write path alone shows 29% lower CPU per write and 34% higher throughput. Synchronous read paths -- the dominant I/O in OLTP -- show no improvement and even increased CPU usage for very large I/O sizes. These results motivate a hybrid I/O architecture that retains pread/pwrite for synchronous operations, adopts iouring for asynchronous batched I/O, and falls back transparently to libaio -- a selective strategy that may also be relevant to other database systems facing the same integration question.
Create a lesson
Metadata
- Categories
- cs.DB, cs.PF
- Comments
- 21 pages, 4 figures, 12 tables. Artifacts available at https://doi.org/10.5281/zenodo.20099105
Related papers
RedMem-Store: Characterizing and Optimizing Storage Engine for LLM User Memory at Production Scale
Shared title terminologycs.DBBing Tian, Xiao Chen, Haikun Liu et al.
QuarkDB: A Hybrid Database System for Quantum Data Management
Shared title terminologycs.DBWenrui Zhang, Yu Wang, Xiao Zhang
Logical Scalability in Big Data Architectures: Impact of Data Modeling on the Database Layer
Shared title terminologycs.DBRosario Napoli, Mark Adrian Gambito, Antonio Celesti et al.
Should Your Database Systems Use Hardware-Assisted Memory Safety Extensions in Production?
Shared title terminologycs.DBIlya Meignan--Masson, Martin Fink, Masanori Misono et al.
Indexing Designs and Adaptive Data Distribution Optimization for In-Memory Databases on Hybrid DDR--CXL Memory
Shared title terminologycs.DBHuijie Cao, Shun Yang, Yinan Zhang et al.
DBRepro: Automated Database Synthesis via a Hybrid Constraint-Solving Approach for Reproducing Slow Queries
Shared title terminologycs.DBZhaoyang Zhang, Shuang Liu, Dengfeng Xu et al.