ForeSight: A Predictive-Scheduling Deterministic Database
By: Junfang Huang , Yu Yan , Hongzhi Wang and more
Potential Business Impact:
Makes computer databases run much faster.
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.
Similar Papers
ForeSight: A Predictive-Scheduling Deterministic Database
Databases
Makes computer systems run much faster and smoother.
ForeSight: Multi-View Streaming Joint Object Detection and Trajectory Forecasting
CV and Pattern Recognition
Helps self-driving cars predict where things will go.
Improving DBMS Scheduling Decisions with Fine-grained Performance Prediction on Concurrent Queries -- Extended
Databases
Makes computer databases run much faster.