Timeliness via speculation for real-time databases
- 1 January 1994
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
Various concurrency control algorithms differ in the time when conflicts are detected, and in the way they are resolved. Pessimistic (PCC) protocols detect conflicts as soon as they occur and resolve them using blocking. Optimistic (OCC) protocols detect conflicts at transaction commit time and resolve them using rollbacks. For real-time databases, blockages and rollbacks are hazards that increase the likelihood of transactions missing their deadlines. We propose a Speculative Concurrency Control (SCC) technique that minimizes the impact of block ages and rollbacks. SCC relies on added system resources to speculate on potential serialization orders, ensuring that if such serialization orders materialize, the hazards of blockages and roll-back are minimized. We present a number of SCC-based algorithms that differ in the level of speculation they introduce, and the amount of System resources (mainly memory) they require. We show the performance gains (in terms of number of satisfied timing constraints) to be expected when a representative SCC algorithm (SCC-2S) is adopted.Keywords
This publication has 18 references indexed in Scilit:
- Experimental evaluation of real-time transaction processingPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Priority inheritance in soft real-time databasesReal-Time Systems, 1992
- Data access scheduling in firm real-time database systemsReal-Time Systems, 1992
- On being optimistic about real-time constraintsPublished by Association for Computing Machinery (ACM) ,1990
- Concurrency control in real-time databases by dynamic adjustment of serialization orderPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1990
- Concurrency control performance modeling: alternatives and implicationsACM Transactions on Database Systems, 1987
- Concurrent Certifications by Intervals of Timestamps in Distributed Database SystemsIEEE Transactions on Software Engineering, 1987
- Optimistic versus pessimistic concurrency control mechanisms in database management systemsInformation Systems, 1982
- On optimistic methods for concurrency controlACM Transactions on Database Systems, 1981
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976