Application of B-Trees in Real-Time Transaction Processing

Authors

  • Wang Hui Independent Researcher, Guangzhou, China (CN) – 510000 Author

DOI:

https://doi.org/10.63345/

Keywords:

B-Tree, real-time systems, OLTP, deadline scheduling, B-link tree, latch coupling, group commit, page split, tail latency, predictability

Abstract

Real-time transaction processing (RTTP) systems must complete database operations within strict latency budgets while sustaining high throughput, even under bursty, skewed workloads. Index structures dominate the critical path of these systems because almost every transactional read, write, or predicate check touches an index. This manuscript examines the practical application of B-Trees and close variants to RTTP, focusing on predictability, concurrency, and deadline-aware behavior. We begin by revisiting B-Tree fundamentals—node fan-out, height bounds, and page layout—and explain why those properties make B-Trees attractive for bounded-time access. We then review techniques that convert theoretical advantages into end-to-end deadline reliability: latch coupling, crabbing, B-link side pointers, optimistic and lock-free traversals, and append-friendly logging.

Building on these ingredients, we propose a deadline-aware B-Tree (DABT) design that (1) pins upper levels in memory, (2) pre-splits hot pages during slack time, (3) uses deadline-aware latch acquisition with time budgets, and (4) aligns group-commit windows to transaction deadline bins. A discrete-event simulator and OLTP-style microbenchmarks (read-heavy and write-intensive mixes under Zipfian key skew) are used to evaluate baseline latch-coupled B-Trees, B-link trees, and DABT. Results show that DABT reduces p99 index latency by 29–44% relative to baselines, cuts deadline-miss rates by more than half, and improves overall throughput by ~11–20% without sacrificing serializability. We analyze statistical significance with repeated trials and report mean±SD across key metrics. The findings indicate that carefully engineered B-Tree variants remain a compelling choice for predictable, real-time OLTP on modern NVMe/DRAM systems.

Downloads

Download data is not yet available.

Published

2026-04-05

How to Cite

Hui , Wang. “Application of B-Trees in Real-Time Transaction Processing”. International Journal of Advanced Research in Computer Science and Engineering (IJARCSE) U.S. ISSN: 3071-0154 2, no. 2 (April 5, 2026): Apr(32–40). Accessed April 9, 2026. https://ijarcse.org/index.php/ijarcse/article/view/125.

Similar Articles

1-10 of 79

You may also start an advanced similarity search for this article.