Jump label

Service navigation

Main navigation

You are here:

Main content

Pathfinder: XQuery—The Relational Way


Pathfinder: XQuery—The Relational Way


Peter A. Boncz, Torsten Grust, Maurice van Keulen, Stefan Manegold, Jan Rittinger, and Jens Teubner


Proceedings of the 31st Int'l Conference on Very Large Data Bases (VLDB)


paper (PDF), demo poster (PDF)


Relational query processors are probably the best understood (as well as the best engineered) query engines available today. Although carefully tuned to process instances of the relational model (tables of tuples), these processors can also provide a foundation for the evaluation of “alien” (non-relational) query languages: if a relational encoding of the alien data model and its associated query language is given, the RDBMS may act like a special-purpose processor for the new language.

This demonstration features our XQuery compiler Pathfinder, the continuation of our earlier work on a purely relational XPath and XQuery processing stack in which we developed relational encodings and processing strategies for the tree-shaped XML data model. The Pathfinder project is an exploration of how far we can push the idea of using mature RDBMS technology to design and build a full-fledged XQuery implementation. The demonstration will show that this line of research was and still is worth to be followed: based on the extensible relational database kernel MonetDB, Pathfinder provides highly efficient and scalable XQuery technology that scales beyond 10 GB XML input instances on commodity hardware.

Pathfinder requires only local extensions to the underlying DBMS’s kernel, such as the staircase join operator. A join recognition logic in our compiler, as well as a careful consideration of order properties of relational operators, allow for effective optimizations that turn MonetDB into a highly efficient XQuery engine.

Sub content


Prof. Dr. Jens Teubner
Tel.: 0231 755-6481