Title :
Testing database transaction concurrency
Author :
Deng, Yuetang ; Frankl, Phyllis ; Chen, Zhongqiang
Author_Institution :
Dept. of Comput. & Inf. Sci., Polytech. Univ., Brooklyn, NY, USA
Abstract :
Database application programs are often designed to be executed concurrently by many users. By grouping related database queries into transactions, DBMS (database management system) can guarantee that each transaction satisfies the well-known ACID properties: atomicity, consistency, isolation, and durability. However, if a database application is decomposed into transactions in an incorrect manner, the application may fail when executed concurrently due to potential offline concurrency problems. This paper presents a dataflow analysis technique for identifying schedules of transaction execution aimed at revealing concurrency faults of this nature, along with techniques for controlling the DBMS or the application so that execution of transaction sequences follows generated schedules. The techniques have been integrated into AGENDA, a tool set for testing relational database application programs. Preliminary empirical evaluation is presented.
Keywords :
concurrency control; program testing; relational databases; software engineering; transaction processing; ACID properties; AGENDA; DBMS; atomicity; concurrency faults; concurrency testing; consistency; database application programs; database management system; database queries; database transaction; dataflow analysis; durability; isolation; offline concurrency; relational database application; transaction sequences; Application software; Concurrent computing; Data analysis; Database systems; Fault diagnosis; Information science; Programming profession; Relational databases; Testing; Transaction databases;
Conference_Titel :
Automated Software Engineering, 2003. Proceedings. 18th IEEE International Conference on
Print_ISBN :
0-7695-2035-9
DOI :
10.1109/ASE.2003.1240306