Efficient labeling scheme for dynamic XML trees
With the growing importance of the semi-structure data in information exchange, there is an increasing need for querying and searching XML data. In order to find all occurrences of a twig pattern in XML documents, a considerable amount of twig pattern matching algorithms have been proposed. Those algorithms are quite efficient for queries in static documents. But for queries in dynamic documents, the previous approaches often suffer from high updating cost, which significantly decrease the query performance. To overcome this limitation, we develop an efficient method to perform twig pattern matching in dynamic XML documents in this paper. Our approach adopts a dynamic labeling scheme and supports successive queries in a dynamic environment. More importantly, depending on the dynamic labeling scheme, it completely avoids unnecessary re-labeling after updates, and significantly improves the query performance. Finally, we run extensive experiments to validate our approach and show its significant superiority.
labeling scheme dynamic xml structural relationships