I am trying to execute an XQuery to add an attribute to zero or more elements in 7000+ documents. However, after 5 minutes the transaction times out with the following error:
INOXME8504 - XML maximum query duration exceeded
I have tried changing the database property ‘maximum transaction duration’ to 3000 seconds and restarting the database but still get a timeout after 5 minutes.
Is there some way of setting or overriding the default duration as part of the XQuery, or can I break down my large transaction into smaller ones?
For the record, here is the XQuery I anm trying to execute:
update for $a in input()/enquiry/enquiry-data/*
where $a/text() > “”
do (
insert attribute description {local-name($a)} into $a
)
Many thanks,
David Sanders
#webMethods#API-Management#Tamino