Leveraging Application Data Constraints to Optimize Database-Backed Web Applications

被引:4
|
作者
Liu, Xiaoxuan [1 ]
Wang, Shuxian [1 ]
Sun, Mengzhu [1 ]
Pan, Sicheng [1 ]
Li, Ge [1 ]
Jha, Siddharth [1 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2023年 / 16卷 / 06期
关键词
EFFICIENT ALGORITHM; QUERY;
D O I
10.14778/3583140.3583141
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Exploiting the relationships among data is a classical query optimization technique. As persistent data is increasingly being created and maintained programmatically, prior work that infers data relationships from data statistics misses an important opportunity. We present Coco, the first tool that identifies data relationships by analyzing database-backed applications. Once identified, Coco leverages the constraints to optimize the application's physical design and query execution. Instead of developing a fixed set of predefined rewriting rules, Coco employs an enumerate-test-verify technique to automatically exploit the discovered data constraints to improve query execution. Each resulting rewrite is provably equivalent to the original query. Using 14 real-world web applications, our experiments show that Coco can discover numerous data constraints from code analysis and improve real-world application performance significantly.
引用
收藏
页码:1208 / 1221
页数:14
相关论文
共 50 条
  • [1] Managing data constraints in database-backed web applications
    Yang, Junwen
    Sethi, Utsav
    Yan, Cong
    Cheung, Alvin
    Lu, Shan
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2020), 2020, : 302 - 303
  • [2] Managing data constraints in database-backed web applications
    Yang, Junwen
    Sethi, Utsav
    Yan, Cong
    Cheung, Alvin
    Lu, Shan
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1098 - 1109
  • [3] Intrusion Recovery for Database-backed Web Applications
    Chandra, Ramesh
    Kim, Taesoo
    Shah, Meelap
    Narula, Neha
    Zeldovich, Nickolai
    SOSP 11: PROCEEDINGS OF THE TWENTY-THIRD ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, 2011, : 101 - 114
  • [4] A Characteristic Study of Deadlocks in Database-Backed Web Applications
    Qiu, Zhengyi
    Shao, Shudi
    Zhao, Qi
    Jin, Guoliang
    2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 510 - 521
  • [5] Building database-backed Web applications: Process and issues
    Westman, S
    INFORMATION TECHNOLOGY AND LIBRARIES, 2002, 21 (02) : 63 - 72
  • [6] Analyze and Evaluate Database-Backed Web Applications with WTool
    Zhou, Zhou
    Yao, XuJia
    WEB AND BIG DATA, APWEB-WAIM 2021, PT I, 2021, 12858 : 110 - 124
  • [7] Database-Access Performance Antipatterns in Database-Backed Web Applications
    Shao, Shudi
    Qiu, Zhengyi
    Yu, Xiao
    Yang, Wei
    Jin, Guoliang
    Xie, Tao
    Wu, Xintao
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 58 - 69
  • [8] Database-backed library Web pages
    Westman, S
    ELECTRONIC LIBRARY, 2001, 19 (06): : 424 - 431
  • [9] SLocator: Localizing the Origin of SQL Queries in Database-Backed Web Applications
    Liu, Wei
    Chen, Tse-Hsun
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (06) : 3376 - 3390
  • [10] Improving the Dependability of Python-Based Database-Backed Web Applications
    Huang, Haochen
    ProQuest Dissertations and Theses Global, 2022,