ForeSight: A Predictive-Scheduling Deterministic Database

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Huang, Junfang, Yan, Yu, Wang, Hongzhi, Li, Yingze, Lin, Jinghan
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912561952194560
author Huang, Junfang
Yan, Yu
Wang, Hongzhi
Li, Yingze
Lin, Jinghan
author_facet Huang, Junfang
Yan, Yu
Wang, Hongzhi
Li, Yingze
Lin, Jinghan
contents Deterministic databases enable scalable replicated systems by executing transactions in a predetermined order. However, existing designs fail to capture transaction dependencies, leading to insufficient scheduling, high abort rates, and poor resource utilization. By addressing these challenges with lightweight conflict prediction and informed scheduling, we present ForeSight, a high-performance deterministic database system. Our system has three core improvements: (1) We design an Association Sum-Product Network to predict potential transaction conflicts, providing the input for dependency analysis without pre-obtained read/write sets. (2) We enhance the storage engine to integrate multi-version-based optimization, improving the execution process and fallback strategy to boost commit rates and concurrency. (3) We propose a matrix two-pass forward scan algorithm that performs dependency analysis to generate conflict-aware schedules, significantly reducing scheduling overhead. Experimental results on multiple benchmarks show that ForeSight achieves up to 2 times higher throughput on skewed workloads and maintains strong performance under contention, demonstrating that predictive scheduling substantially improves deterministic database scalability.
format Preprint
id arxiv_https___arxiv_org_abs_2508_17375
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ForeSight: A Predictive-Scheduling Deterministic Database
Huang, Junfang
Yan, Yu
Wang, Hongzhi
Li, Yingze
Lin, Jinghan
Databases
Deterministic databases enable scalable replicated systems by executing transactions in a predetermined order. However, existing designs fail to capture transaction dependencies, leading to insufficient scheduling, high abort rates, and poor resource utilization. By addressing these challenges with lightweight conflict prediction and informed scheduling, we present ForeSight, a high-performance deterministic database system. Our system has three core improvements: (1) We design an Association Sum-Product Network to predict potential transaction conflicts, providing the input for dependency analysis without pre-obtained read/write sets. (2) We enhance the storage engine to integrate multi-version-based optimization, improving the execution process and fallback strategy to boost commit rates and concurrency. (3) We propose a matrix two-pass forward scan algorithm that performs dependency analysis to generate conflict-aware schedules, significantly reducing scheduling overhead. Experimental results on multiple benchmarks show that ForeSight achieves up to 2 times higher throughput on skewed workloads and maintains strong performance under contention, demonstrating that predictive scheduling substantially improves deterministic database scalability.
title ForeSight: A Predictive-Scheduling Deterministic Database
topic Databases
url https://arxiv.org/abs/2508.17375