Cheetah: Accelerating Database Queries with Switch Pruning

被引:2
|
作者
Tirmazi, Muhammad [1 ]
Ben Basat, Ran [1 ]
Gao, Jiaqi [1 ]
Yu, Minlan [1 ]
机构
[1] Harvard Univ, Cambridge, MA 02138 USA
关键词
Databases; Programmable Switches; P4; Algorithms; Pruning;
D O I
10.1145/3342280.3342311
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Modern database systems are growing increasingly distributed and struggle to reduce the query completion time with a large volume of data. In this poster, we propose to leverage programmable switches in the network to offload part of the query computation to the switch. While switches provide high performance, they also have many resource and programming constraints that make it hard to implement diverse database queries. To fit in these constraints, we introduce the concept of data pruning - filtering out entries which are guaranteed not to affect the output. The database system then runs the same query, but on the pruned data, which significantly reduces the processing time. We propose a set of pruning algorithms for a variety of queries. We implement our system, Cheetah, on a Barefoot Tofino switch and Spark. Our evaluation on the Berkeley AMPLab benchmark shows up to 3x improvement in the query completion time compared to Apache Spark.
引用
收藏
页码:72 / 74
页数:3
相关论文
共 50 条
  • [21] Database Queries that Explain their Work
    Cheney, James
    Ahmed, Amal
    Acar, Umut A.
    PPDP'14: PROCEEDINGS OF THE 16TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2014, : 271 - 282
  • [22] Learning Database Queries with Prolog
    Orehova, Ekaterina
    Govyazin, Sergey
    Stroganov, Yurii
    NEW TECHNOLOGIES AND REDESIGNING LEARNING SPACES, VOL II, 2019, : 265 - 272
  • [23] The Importance of Parameters in Database Queries
    Grohe, Martin
    Kimelfeld, Benny
    Lindner, Peter
    Standke, Christoph
    27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [24] Rethinking Pruning for Accelerating Deep Inference At the Edge
    Gao, Dawei
    He, Xiaoxi
    Zhou, Zimu
    Tong, Yongxin
    Xu, Ke
    Thiele, Lothar
    KDD '20: PROCEEDINGS OF THE 26TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING, 2020, : 155 - 164
  • [25] Personalization of queries in database systems
    Koutrika, G
    Ioannidis, Y
    20TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2004, : 597 - 608
  • [26] Homomorphic Evaluation of Database Queries
    Usefi, Hamid
    Palamakumbura, Sudharaka
    MOBILE NETWORKS AND MANAGEMENT (MONAMI 2017), 2018, 235 : 203 - 216
  • [27] INTENSIONAL ANSWERS TO DATABASE QUERIES
    MOTRO, A
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1994, 6 (03) : 444 - 454
  • [28] Insert Queries in XML Database
    Vidhya, P. M.
    Samuel, Philip
    PROCEEDINGS 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, (ICCSIT 2010), VOL 1, 2010, : 9 - 13
  • [29] VOCABULARY BUILDING FOR DATABASE QUERIES
    TANAKA, Y
    LECTURE NOTES IN COMPUTER SCIENCE, 1983, 147 : 215 - 232
  • [30] Perturbation Analysis of Database Queries
    Walenz, Brett
    Yang, Jun
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2016, 9 (14): : 1635 - 1646