Intelligent Transaction Scheduling via Conflict Prediction in OLTP DBMS
<|reference_start|>Intelligent Transaction Scheduling via Conflict Prediction in OLTP DBMS: Current architectures for main-memory online transaction processing (OLTP) database management systems (DBMS) typically use random scheduling to assign transactions to threads. This approach achieves uniform load across threads but it ignores the likelihood of conflicts between transactions. If the DBMS could estimate the potential for transaction conflict and then intelligently schedule transactions to avoid conflicts, then the system could improve its performance. Such estimation of transaction conflict, however, is non-trivial for several reasons. First, conflicts occur under complex conditions that are far removed in time from the scheduling decision. Second, transactions must be represented in a compact and efficient manner to allow for fast conflict detection. Third, given some evidence of potential conflict, the DBMS must schedule transactions in such a way that minimizes this conflict. In this paper, we systematically explore the design decisions for solving these problems. We then empirically measure the performance impact of different representations on standard OLTP benchmarks. Our results show that intelligent scheduling using a history increases throughput by $\sim$40\% on 20-core machine.<|reference_end|>
@article{zhang2024intelligent,
    title={Intelligent Transaction Scheduling via Conflict Prediction in OLTP DBMS},
    author={Tieying Zhang, Anthony Tomasic, Andrew Pavlo},
    journal={arXiv preprint arXiv:2409.01675},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.01675},
    primaryClass={cs.DB}
}