Performance Modeling of Database Recovery Protocols

The performance modeling described in this paper compares several protocols which ensure that a database can be recovered to a consistent state after a transaction failure or system crash. The contributions of the paper include a collection of simple analytic models, based on Markov processes, for these protocols and some surprising results on the relative performance of the protocols. We consider only two-stage transactions (all reads before writes) and ignore effects of serializing transactions. The most interesting performance result presented is that, for systems obeying the assumptions of this paper, the "pessimistic" policy of holding write locks to commit point is considerably less efficient than the "optimistic" policy which allows reading of uncommitted data, but risks cascading aborts. A multiversion policy introduced in [2] was also studied and found always to be nearly as good as the optimistic policy and sometimes much better.

[1]  Sheldon M. Ross,et al.  Stochastic Processes , 2018, Gauge Integral Structures for Stochastic Calculus and Quantum Electrodynamics.

[2]  Erol Gelenbe,et al.  On the modeling of parallel access to shared data , 1983, CACM.

[3]  Y. C. Tay,et al.  A mean value performance model for locking in databases: the waiting case , 1984, PODS '84.

[4]  Averill M. Law,et al.  Simulation Modeling and Analysis , 1982 .

[5]  Vassos Hadzilacos An operational model for database system reliability , 1983, PODS '83.

[6]  Stephen S. Lavenberg,et al.  Computer Performance Modeling Handbook , 1983, Int. CMG Conference.

[7]  L. Schrage,et al.  Queueing systems, Vol. I: Theory , 1977, Proceedings of the IEEE.

[8]  D. Potier,et al.  Analysis of locking policies in database management systems , 1980, PERFORMANCE '80.

[9]  Edward D. Lazowska,et al.  Quantitative system performance - computer system analysis using queueing network models , 1983, Int. CMG Conference.