Testing Database-Centric Applications For Causes of Database Deadlocks

被引:12
|
作者
Grechanik, Mark [1 ]
Hossain, B. M. Mainul [1 ]
Buy, Ugo [1 ]
机构
[1] Univ Illinois, Chicago, IL 60607 USA
关键词
D O I
10.1109/ICST.2013.19
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many organizations deploy applications that use databases by sending Structured Query Language (SQL) statements to them and obtaining data that result from executions of these statements. Since applications often share the same databases concurrently, database deadlocks routinely occur in these databases. Testing applications to determine how they cause database deadlocks is important as part of ensuring correctness, reliability, and performance of these applications. Unfortunately, it is very difficult to reproduce database deadlocks, since it involves different factors such as the precise interleavings in executing SQL statements. We created a novel approach for Systematic TEsting in Presence of DAtabase Deadlocks (STEPDAD) that enables testers to instantiate database deadlocks in applications with a high level of automation and frequency. We implemented STEPDAD and experimented with three applications. On average, STEPDAD detected a number of database deadlocks exceeding the deadlocks obtained with the baseline approach by more than an order of magnitude. In some cases, STEPDAD reproduced a database deadlock after running an application only twice, while no database deadlocks could be obtained after ten runs using the baseline approach.
引用
收藏
页码:174 / 183
页数:10
相关论文
共 50 条
  • [1] The Design of a System for Testing Database-Centric Software Applications using Database Surrogates
    Bonar, Adrian W.
    [J]. PROCEEDINGS OF THE 2009 SIXTH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, VOLS 1-3, 2009, : 779 - 783
  • [2] Continuous querying in database-centric Web applications
    Shafer, JC
    Agrawal, R
    [J]. COMPUTER NETWORKS-THE INTERNATIONAL JOURNAL OF COMPUTER AND TELECOMMUNICATIONS NETWORKING, 2000, 33 (1-6): : 519 - 531
  • [3] Automatically Detecting Integrity Violations In Database-Centric Applications
    Li, Boyang
    Poshyvanyk, Denys
    Grechanik, Mark
    [J]. 2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, : 251 - 262
  • [4] Introducing version control to database-centric applications in a small enterprise
    Ploski, Jan
    Hasselbring, Wilhelm
    Rehwinkel, Jochen
    Schwierz, Stefan
    [J]. IEEE SOFTWARE, 2007, 24 (01) : 38 - +
  • [5] A database-centric virtual chemistry system
    Lind, Peter
    Alm, Markus
    [J]. JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2006, 46 (03) : 1034 - 1039
  • [6] Automatic Verification of Database-Centric Systems
    Deutsch, Alin
    Hull, Richard
    Vianu, Victor
    [J]. SIGMOD RECORD, 2014, 43 (03) : 5 - 17
  • [7] A Database-Centric Architecture for Interactive Storytelling
    Cheong, Yun-Gyung
    Park, Kinam
    Park, Woo-Hyun
    Bae, Byung-Chull
    [J]. PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON THE FOUNDATIONS OF DIGITAL GAMES (FDG'17), 2017,
  • [8] In defense of extreme database-centric architecture
    Vicente, Alfonso
    [J]. MEMORIA INVESTIGACIONES EN INGENIERIA, 2023, (24): : 117 - 128
  • [9] Database-centric development of menus and graphic user interfaces
    Aggarwal, R. B.
    Dhawan, Amit
    Kumar, Jay Shankar
    [J]. DEFENCE SCIENCE JOURNAL, 2007, 57 (01) : 133 - 138
  • [10] Database-Centric Chain-of-Custody in Biometric Forensic Systems
    Schaeler, Martin
    Schulze, Sandro
    Kiltz, Stefan
    [J]. BIOMETRICS AND ID MANAGEMENT, 2011, 6583 : 250 - 261