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 条
  • [21] Precise, dynamic information flow for database-backed applications
    Yang, Jean
    Hance, Travis
    Austin, Thomas H.
    Solar-Lezama, Armando
    Flanagan, Cormac
    Chong, Stephen
    Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2016, 13-17-June-2016 : 631 - 647
  • [22] Information-Flow Control for Database-backed Applications
    Guarnieri, Marco
    Balliu, Musard
    Schoepe, Daniel
    Basin, David
    Sabelfeld, Andrei
    2019 4TH IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P), 2019, : 79 - 94
  • [23] The Web Page as a WYSIWYG End-User Customizable Database-Backed Information Management Application
    Karger, David R.
    Ostler, Scott
    Lee, Ryan
    UIST 2009: PROCEEDINGS OF THE 22ND ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2009, : 257 - 260
  • [24] Creating database-backed library web pages: Using open source tools
    Tran, Lan Anh
    ONLINE INFORMATION REVIEW, 2008, 32 (03) : 454 - 455
  • [25] Ensuring Authorized Updates in Multi-user Database-Backed Applications
    Eykholt, Kevin
    Prakash, Atul
    Mozafari, Barzan
    PROCEEDINGS OF THE 26TH USENIX SECURITY SYMPOSIUM (USENIX SECURITY '17), 2017, : 1445 - 1462
  • [26] Creating database-backed library web pages using open source tools
    Bove, Frank J.
    PORTAL-LIBRARIES AND THE ACADEMY, 2007, 7 (03) : 385 - 386
  • [27] Creating database-backed library Web pages: using open source tools
    MacDonald, Jackie
    JOURNAL OF THE CANADIAN HEALTH LIBRARIES ASSOCIATION, 2006, 27 (04): : 129 - 129
  • [28] Exploratory Data Analysis with Database-backed Dataframes: A Case Study on Airbnb Data
    Sinthong, Phanwadee
    Carey, Michael J.
    2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, : 3119 - 3129
  • [29] CREATING DATABASE-BACKED LIBRARY WEB PAGES: USING OPEN SOURCE TOOLS
    Lodwick, David
    TECHNICAL SERVICES QUARTERLY, 2007, 25 (02) : 107 - 109
  • [30] R3: Record-Replay-Retroaction for Database-Backed Applications
    Li, Qian
    Kraft, Peter
    Cafarella, Michael
    Demiralp, Cagatay
    Graefe, Goetz
    Kozyrakis, Christos
    Stonebraker, Michael
    Suresh, Lalith
    Yu, Xiangyao
    Zaharia, Matei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (11): : 3085 - 3097