Lock Prediction for Zero-Downtime Database Encryption
Mohamed Sami Rakha, Adam Sorrenti, Greg Stager, Walid Rjaibi, Andriy Miranskyy

TL;DR
This paper introduces a deep learning-based method to predict database lock sequences in IBM Db2, aiming to enable online encryption without downtime by forecasting data access patterns.
Contribution
It proposes a novel deep learning approach using Transformer and LSTM models to predict lock sequences, facilitating online encryption in high-throughput databases.
Findings
Achieves up to 49% accuracy for table-level lock prediction
Achieves up to 66% accuracy for page-level lock prediction
Outperforms naive baseline models in lock sequence forecasting
Abstract
Modern enterprise database systems face significant challenges in balancing data security and performance. Ensuring robust encryption for sensitive information is critical for systems' compliance with security standards. Although holistic database encryption provides strong protection, existing database systems often require a complete backup and restore cycle, resulting in prolonged downtime and increased storage usage. This makes it difficult to implement online encryption techniques in high-throughput environments without disrupting critical operations. To address this challenge, we envision a solution that enables online database encryption aligned with system activity, eliminating the need for downtime, storage overhead, or full-database reprocessing. Central to this vision is the ability to predict which parts of the database will be accessed next, allowing encryption to be…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Cloud Computing and Resource Management · Cryptography and Data Security
