WinMagic: Subquery Elimination Using Window Aggregation
Calisto Zuzarte, Hamid Pirahesh, et al.
SIGMOD 2003
An XML publish/subscribe system needs to match many XPath queries (subscriptions) over published XML documents. The performance and scalability of the matching algorithm is essential for the system when the number of XPath subscriptions is large. Earlier solutions to this problem usually built large finite state automata for all the XPath subscriptions in memory. The scalability of this approach is limited by the amount of available physical memory. In this paper, we propose an implementation that uses a relational database as the matching engine. The heavy lifting part of evaluating a large number of subscriptions is done inside a relational database using indices and joins. We described several different implementation strategies and presented a performance evaluation. The system shows very good performance and scalability in our experiments, handling millions of subscriptions with moderate amount of physical memory.
Calisto Zuzarte, Hamid Pirahesh, et al.
SIGMOD 2003
C. Mohan, Don Haderle, et al.
ACM Transactions on Database Systems (TODS)
Rakesh Agrawal, Ameet Kini, et al.
SIGMOD 2004
Inderpal Singh Mumick, Sheldon J. Finkelstein, et al.
ACM TODS