Check if xdmp:spawn helps. Thanks Pradeep Maddireddy
On 5/2/11, Abhishek53 S <abhishek5...@tcs.com> wrote: > Hi ALL > > I want to update over a large set of xml. Marklogic suggest to perform > bulk update over a set of record. Say each set has 1000 records to be > updated in a single transaction. > > My custom query is like > for $x in (1 to 1000) > return xdmp:node-replace() > > The above query need to run in a separate transaction using xdmp:eval() > function ( isolation - separate transaction). But If the query will run > over a long period time It will get request time out exception. > > Please suggest the best approach to follow in this scenario. Can we run > the bulk update in separate threads (No to XCC) if the records update are > independent? > > Thanks in advance ! > > Abhishek Srivastav > Assistant Systems Engineer > Tata Consultancy Services > Plot B-1, Block EP & GP, Sector 5 > Salt Lake Electronics Complex, > Kolkata - 700 091,West Bengal > India > Cell:- +91-9883389968 > Mailto: abhishek5...@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > _______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general