Title :
SQL Access Patterns for Optimistic Concurrency Control
Author :
Laux, Fritz ; Laiho, Martti
Author_Institution :
Fak. Inf., Reutlingen Univ., Reutlingen, Germany
Abstract :
Transaction processing is of growing importance for mobile and Web applications. Booking tickets, flight reservation, e-Banking, e-Payment, and booking holiday arrangements are just a few examples. Due to temporarily disconnected situations the synchronisation and consistent transaction processing are key issues. To avoid difficulties with blocked transactions or communication loss several authors and technology providers have recommended to use Optimistic Concurrency Control (OCC) to solve the problem. However most vendors of Relational Database Management Systems (DBMS) implemented only locking schemes for concurrency control which prohibit the immediate use of OCC.We propose Row Version Verifying (RVV) discipline to avoid lost updates and achieve a kind of OCC for those DBMS not providing an adequate non-blocking concurrency control. Moreover, the different mechanisms are categorized as access pattern in order to provide programmers with a general guideline for SQL databases. The proposed SQL access patterns are relevant for all transactional applications with unreliable communication and low conflicting situations.We demonstrate the proposed solution using mainstream database systems like Oracle, DB2, and SQLServer.
Keywords :
SQL; concurrency control; relational databases; transaction processing; DB2 database system; Oracle database system; SQL access patterns; SQL databases; SQLServer database system; optimistic concurrency control; relational database management systems; row version verifying discipline; transaction processing; Adaptive control; Business; Concurrency control; Information technology; Mobile communication; Object oriented databases; Programmable control; Relational databases; Service oriented architecture; Transaction databases; SQL; access patterns; optimistic concurrency control; row version verifying;
Conference_Titel :
Future Computing, Service Computation, Cognitive, Adaptive, Content, Patterns, 2009. COMPUTATIONWORLD '09. Computation World:
Conference_Location :
Athens
Print_ISBN :
978-1-4244-5166-1
Electronic_ISBN :
978-0-7695-3862-4
DOI :
10.1109/ComputationWorld.2009.63