explaining xqueries

does anyone have any documentation on how to interpret the result of an explain ? I’m trying to improve some quite sophisticated xqueries so as to add any necessary index, but there is so many information in the result of the explain, it’s possible I miss some points in it.

Thanks !

Look out for the database scan operators, to get an idea of the interaction between the XQuery engine and the database:

  • XqcUnnestCollectionScan - retrieve all documents of a collection
  • XqcUnnestDoctypeScan - retrieve all documents of a doctype
  • XqcUnnestStdIdxScan - retrieve documents qualified by index access using given predicates
  • XqcUnnestFullIdxScan - retrieve values stored in a given index