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 条
  • [31] Some estimations in database queries
    Vasile, Silviu-Laurentiu
    BULLETIN MATHEMATIQUE DE LA SOCIETE DES SCIENCES MATHEMATIQUES DE ROUMANIE, 2014, 57 (03): : 319 - 325
  • [32] ANSWERABILITY OF DATABASE QUERIES.
    Ein-Dor, Phillip
    Spiegler, Israel
    1600, (10):
  • [33] Database selection for longer queries
    Wu, WS
    Yu, C
    Meng, WY
    CLASSIFICATION, CLUSTERING, AND DATA MINING APPLICATIONS, 2004, : 575 - 584
  • [34] Accelerating Queries with Group-By and Join by Groupjoin
    Moerkotte, Guido
    Neumann, Thomas
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 4 (11): : 843 - 851
  • [35] An Efficient Pruning Method to Process Reverse Skyline Queries
    Han, Ah
    Park, Youngbae
    Kwon, Dongseop
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2014, 30 (02) : 501 - 517
  • [36] Rank Pruning for Dominance Queries in CP-Nets
    Laing, Kathryn
    Thwaites, Peter Adam
    Gosling, John Paul
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2019, 64 : 55 - 107
  • [37] Accelerating Approximate Aggregation Queries with Expensive Predicates
    Kang, Daniel
    Guibas, John
    Bailis, Peter
    Hashimoto, Tatsunori
    Sun, Yi
    Zaharia, Matei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (11): : 2341 - 2354
  • [38] Accelerating Aggregation Queries on Unstructured Streams of Data
    Russo, Matthew
    Hashimoto, Tatsunori
    Kang, Daniel
    Sun, Yi
    Zaharia, Matei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (11): : 2897 - 2910
  • [39] Pruning texts with NLP and expanding queries with an ontology: TagSearch
    Francopoulo, G
    COMPARATIVE EVALUATION OF MULTILLINGUAL INFORMATION ACCESS SYSTEMS, 2003, 3237 : 319 - 321
  • [40] Efficient Geometric Pruning Strategies for Continuous Skyline Queries
    Zheng, Jiping
    Chen, Jialiang
    Wang, Haixiang
    ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION, 2017, 6 (03):