XML IV
Faster Twig Pattern Matching Using Extended Dewey ID
Chung Keung Poon1
and Leo Yuen1 
| (1) |
Department of Computer Science, City University of Hong Kong, |
Abstract
Finding all the occurrences of a twig pattern in an XML database is a core operation for efficient evaluation of XML queries.
Recently, Lu et al. [7] proposed the TJFast algorithm that uses the extended Dewey labelling scheme and reported better performance compared with other state-of-the-art holistic twig join algorithms, both in terms of number of elements scanned and stored during the computation. In this paper,
we designed an enhancement to further exploit the power of the extended Dewey ID. This reduces the CPU cost and also favors indexed inputs. Our algorithm can be shown analytically as efficient as TJFast in terms of worst case I/O, and experimentally performs significantly better.
This research was fully supported by a grant from the Research Grants Council of the Hong Kong SAR, China [Project No. 9040906
(RGC Ref. No. CityU 1164/04E)].