EEvA: Fast Expert-Based Algorithms for Buffer Page Replacement
Alexander Demin, Yuriy Dorn, Aleksandr Katrutsa, Daniil Kazantsev, Ilgam Latypov, Yulia Maximlyuk, Denis Ponomaryov
TL;DR
The paper tackles the challenge of designing buffer eviction policies that are both adaptive to diverse data-access patterns and computationally lightweight for DBMS workloads. It proposes EEvA, an expert-based eviction framework that combines static page/table-level experts with online learning (Online Mirror Descent) and a Markov Decision Process perspective to model eviction decisions. The authors derive several concrete algorithms (EEvA, EEvA-Greedy, EEvA-T, EEvA-Seq), provide regret bounds, and validate performance through synthetic experiments and an open-source DB kernel on TPC-C, showing improvements in hit rate and latency over strong baselines except in the theoretical worst-case belady scenario. The work demonstrates practical impact for large buffer pools and heavy concurrency, and points to future work on deeper theoretical analysis and more integrated, production-ready implementations of page-flush policies.
Abstract
Optimal page replacement is an important problem in efficient buffer management. The range of replacement strategies known in the literature varies from simple but efficient FIFO-based algorithms to more accurate but potentially costly methods tailored to specific data access patterns. The principal issue in adopting a pattern-specific replacement logic in a DB buffer manager is to guarantee non-degradation in general high-load regimes. In this paper, we propose a new family of page replacement algorithms for DB buffer manager which demonstrate a superior performance wrt competitors on custom data access patterns and imply a low computational overhead on TPC-C. We provide theoretical foundations and an extensive experimental study on the proposed algorithms which covers synthetic benchmarks and an implementation in an open-source DB kernel evaluated on TPC-C.
