Physical Mappings of XQuery

The previous sections have presented the functional description of how to integrate XQuery and XML into the SQL processing model of relational systems. From a performance point of view, another interesting aspect is how such combined queries are being mapped into a physical operator tree. Since this mapping depends on the physical mapping of the XML datatype and also depends heavily on the vendor-specific architectures, this section provides a more general, higher-level discussion of the different mapping strategies of XQuery into physical execution plans.

In the following, we assume that the XQuery expressions are provided as constants; thus, compilation can occur at the same time as the compilation of the SQL expressions. ...

Get XQuery from the Experts: A Guide to the W3C XML Query Language now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.