Hi Pascal,


Would this be one transaction or many transactions?
for $var in /codeBook/dataDscr/var
delete node $var/catstat

We treat each query as an individual transaction, so this won't have
any impact.
 
Would there be a way to set a priority for queries?

There's no customizable prioritization mechanism. At the moment,
queries are treated first-come-first-serve to overcome starvation issues.

As XQuery allows for a wide range of operations on multiple databases
within the same query, we haven't yet come up with a solution that
allows true concurrent access and at the same time doesn't interfere
with the efficient and compact nature of the BaseX backend.


Cheers,
Lukas