Nowadays the 2-Phase-Locking (2PL) concurrency control algorithm still plays a core rule in the construction of transactional systems (e.g. database systems and transactional memories). Hence, any technique allowing accurate analysis and prediction of the performance of 2PL based systems can be of wide interest and applicability. In this article we present an accurate analytical model of 2PL concurrency control, which overcomes several limitations of preexisting analytical results. In particular our model captures relevant features of realistic data access patterns, by taking into account access distributions that depend on transactions' execution phases. Also, our model provides significantly more accurate performance predictions in heavy contention scenarios, where the number of transactions enqueued due to conflicting lock requests is expected to be non-minimal. The accuracy of our model has been verified against simulation results based on both synthetic data access patterns and patterns derived from the TPC-C benchmark. © 2009 ACM.
Analytical modeling of lock-based concurrency control with arbitrary transaction data access patterns / DI SANZO, Pierangelo; Palmieri, Roberto; Ciciani, Bruno; Quaglia, Francesco; Paolo, Romano. - (2010), pp. 69-78. (Intervento presentato al convegno 1st Joint WOSP/SIPEW International Conference on Performance Engineering, WOSP/SIPEW'10 tenutosi a San Jose; United States nel 28 January 2010 through 30 January 2010) [10.1145/1712605.1712619].
Analytical modeling of lock-based concurrency control with arbitrary transaction data access patterns
DI SANZO, PIERANGELO;PALMIERI, ROBERTO;CICIANI, Bruno;QUAGLIA, Francesco;
2010
Abstract
Nowadays the 2-Phase-Locking (2PL) concurrency control algorithm still plays a core rule in the construction of transactional systems (e.g. database systems and transactional memories). Hence, any technique allowing accurate analysis and prediction of the performance of 2PL based systems can be of wide interest and applicability. In this article we present an accurate analytical model of 2PL concurrency control, which overcomes several limitations of preexisting analytical results. In particular our model captures relevant features of realistic data access patterns, by taking into account access distributions that depend on transactions' execution phases. Also, our model provides significantly more accurate performance predictions in heavy contention scenarios, where the number of transactions enqueued due to conflicting lock requests is expected to be non-minimal. The accuracy of our model has been verified against simulation results based on both synthetic data access patterns and patterns derived from the TPC-C benchmark. © 2009 ACM.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.