Optimizing Your XQuery

One of the main benefits of the query plan is that you can use it when tuning your queries for the best performance possible. After viewing the query plan and executing the XQuery, you might wish to make some changes to the XQuery code to see how they affect the query plan and, consequently, how the XQuery code is processed.

See the DataDirect XQuery User's Guide and Reference for more information on optimizing your XQuery code for data access.

Tip

 

The Stylus Studio Profiler generates an HTML report that contains performance metrics for your XQuery code. You might want to run and view this report before making changes to your XQuery code. See Profiling XQuery Documents for more information.

 
Free Stylus Studio XML Training: