Fast joins using join indices

被引:32
|
作者
Li, Z [1 ]
Ross, KA [1 ]
机构
[1] Columbia Univ, Dept Comp Sci, New York, NY 10027 USA
来源
VLDB JOURNAL | 1999年 / 8卷 / 01期
关键词
query processing; decision support systems;
D O I
10.1007/s007780050071
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Two new algorithms, "Jive join" and "Slam join," are proposed for computing the join of two relations using a join index. The algorithms are duals: Jive join range-partitions input relation tuple ids and then processes each partition, while Slam join forms ordered runs of input relation tuple ids and then merges the results. Both algorithms make a single sequential pass through each input relation, in addition to one pass through the join index and two passes through a temporary file, whose size is half that of the join index. Both algorithms require only that the number of blocks in main memory is of the order of the square root of the number of blocks in the smaller relation. By storing intermediate and final join results in a vertically partitioned fashion, our algorithms need to manipulate less data in memory at a given time than other algorithms. The algorithms are resistant to data skew and adaptive to memory fluctuations. Selection conditions can be incorporated into the algorithms. Using a detailed cost model, the algorithms are analyzed and compared with competing algorithms. For large input relations, our algorithms perform significantly better than Valduriez's algorithm, the TID join algorithm, and hash join algorithms. An experimental study is also conducted to validate the analytical results and to demonstrate the performance characteristics of each algorithm in practice.
引用
收藏
页码:1 / 24
页数:24
相关论文
共 50 条
  • [21] FAST joins Breakthrough programme
    Banks, Michael
    PHYSICS WORLD, 2016, 29 (11) : 11 - 11
  • [22] Fast and scalable inequality joins
    Khayyat, Zuhair
    Lucia, William
    Singh, Meghna
    Ouzzani, Mourad
    Papotti, Paolo
    Quiane-Ruiz, Jorge-Arnulfo
    Tang, Nan
    Kalnis, Panos
    VLDB JOURNAL, 2017, 26 (01): : 125 - 150
  • [23] Fast Optimal Twig Joins
    Grimsmo, Nils
    Bjorklund, Truls A.
    Hetland, Magnus Lie
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (01): : 894 - 905
  • [24] Joins vs. Links or Relational Join Considered Harmful
    Savinov, Alexandr
    IOTBD: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTERNET OF THINGS AND BIG DATA, 2016, : 362 - 368
  • [25] Random access with a distributed Bitmap Join Index for Star Joins
    Brito, Jaqueline J.
    Mosqueiro, Thiago
    Ciferri, Ricardo R.
    Ciferri, Cristina D. A.
    HELIYON, 2020, 6 (02)
  • [26] Improvement of Join Algorithms for Low-Selectivity Joins on MapReduce
    Matono, Akiyoshi
    Ogawa, Hirotaka
    Kojima, Isao
    DATABASES THEORY AND APPLICATIONS, 2015, 9093 : 117 - 128
  • [27] On indices of subgroups in the join of their conjugate pairs
    Li, Xianhua
    Zhang, Xinjian
    SIBERIAN MATHEMATICAL JOURNAL, 2013, 54 (04) : 656 - 665
  • [28] On indices of subgroups in the join of their conjugate pairs
    Xianhua Li
    Xinjian Zhang
    Siberian Mathematical Journal, 2013, 54 : 656 - 665
  • [29] A fast similarity join algorithm using graphics processing units
    Lieberman, Michael D.
    Sankaranarayanan, Jagan
    Samet, Hanan
    2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 1111 - +
  • [30] Fast Join Project Query Evaluation using Matrix Multiplication
    Deep, Shaleen
    Hu, Xiao
    Koutris, Paraschos
    SIGMOD'20: PROCEEDINGS OF THE 2020 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2020, : 1213 - 1223