Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Could XQuery Whiteboard perform better?

perform Whiteboard xquery
0
Posted

Could XQuery Whiteboard perform better?

0

Yes. In particular, the use of the “table:” URI in the fn:doc function causes the creation of an XML document that represents the entire table. In many cases only a small number of the elements representing the tables columns and rows are actually used. A better approach would be to construct only those columns that are needed, and to push some of the XQuery predicates on the constructed document into an inner SQL query.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123