On applying hash filters to improving the execution of multi-join queries
Author(s) -
Ming-Syan Chen⋆,
Hui-I Hsiao,
Philip S. Yu
Publication year - 1997
Publication title -
the vldb journal
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.653
H-Index - 90
eISSN - 0949-877X
pISSN - 1066-8888
DOI - 10.1007/s007780050036
Subject(s) - hash function , computer science , hash join , joins , join (topology) , hash tree , hash table , tuple , bloom filter , tree (set theory) , query optimization , interleaving , parallel computing , theoretical computer science , data mining , algorithm , programming language , mathematics , combinatorics , mathematical analysis , discrete mathematics , operating system
In this paper, we explore an approach of interleaving a bushy execution tree with hash filters to improve the execution of multi-join queries. Similar to semi-joins in distributed query processing, hash filters can be applied to eliminate non-matching tuples from joining relations before the execution of a join, thus reducing the join cost. Note that hash filters built in different execution stages of a bushy tree can have different costs and effects. The effect of hash filters is evaluat ed first. Then, an efficient scheme to determine an effective sequence of hash filters for a bushy execution tree is developed, where hash filters are built and applied based on the join sequence specified in the bushy tree so that not only is the reduction effect optimized but also the cost associated is minimized. Various schemes using hash filters are implemented and evaluated via simulation. It is experimentally shown that the application of hash filters is in general a very powerful means to improve th e execution of multi-join queries, and the improvement becomes more prominent as the number of relations in a query increases.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom