TY - JOUR
T1 - Counting twig matches in a tree
AU - Chen, Zhiyuan
AU - Jagadish, H. V.
AU - Korn, Flip
AU - Koudas, N.
AU - Muthukrishnan, S.
AU - Ng, Raymond
AU - Srivastava, D.
PY - 2001
Y1 - 2001
N2 - We describe efficient algorithms for accurately estimating the number of matches of a small node-labeled tree, i.e., a twig, in a large node-labeled tree, using a summary data structure. This problem is of interest for queries on XML and other hierarchical data, to provide query feedback and for cost-based query optimization. Our summary data structure scalably represents approximate frequency information about twiglets (i.e., small twigs) in the data tree. Given a twig query, the number of matches is estimated by creating a set of query twiglets, and combining two complementary approaches: Set Hashing, used to estimate the number of matches of each query twiglet, and Maximal Overlap, used to combine the query twiglet estimates into an estimate for the twig query. We propose several estimation algorithms that apply these approaches on query twiglets formed using variations on different twiglet decomposition techniques. We present an extensive experimental evaluation using several real XML data sets, with a variety of twig queries. Our results demonstrate that accurate and robust estimates can be achieved, even with limited space.
AB - We describe efficient algorithms for accurately estimating the number of matches of a small node-labeled tree, i.e., a twig, in a large node-labeled tree, using a summary data structure. This problem is of interest for queries on XML and other hierarchical data, to provide query feedback and for cost-based query optimization. Our summary data structure scalably represents approximate frequency information about twiglets (i.e., small twigs) in the data tree. Given a twig query, the number of matches is estimated by creating a set of query twiglets, and combining two complementary approaches: Set Hashing, used to estimate the number of matches of each query twiglet, and Maximal Overlap, used to combine the query twiglet estimates into an estimate for the twig query. We propose several estimation algorithms that apply these approaches on query twiglets formed using variations on different twiglet decomposition techniques. We present an extensive experimental evaluation using several real XML data sets, with a variety of twig queries. Our results demonstrate that accurate and robust estimates can be achieved, even with limited space.
UR - http://www.scopus.com/inward/record.url?scp=0035005711&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0035005711&partnerID=8YFLogxK
U2 - 10.1109/ICDE.2001.914874
DO - 10.1109/ICDE.2001.914874
M3 - Article
AN - SCOPUS:0035005711
SN - 1084-4627
SP - 595
EP - 604
JO - Proceedings - International Conference on Data Engineering
JF - Proceedings - International Conference on Data Engineering
ER -