Hello Steve,

Geert's suggestion might avoid this issue entirely. MarkLogic is much better at inserting a lot of small documents than appending to a big one. I think you'll end up with a lot less disk IO by avoiding an operation that updates a big document lots of times.

If you need to return the whole log as one document you might provide an endpoint that stitches together a lot of documents into one wrapper.

Hope that helps,

Charles


On 12/19/2012 07:36 AM, Steve Carton wrote:

Geert -

They are two separate .xqy files. The big one does update the log document. The small one has an option to return log information or to return just progress.

So I removed the option to return the log data. Now it simply returns the contents of the server fields. But it still waits.



_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general


--
Charles Greer
Senior Engineer
MarkLogic Corporation
[email protected]
Phone: +1 707 408 3277
www.marklogic.com

This e-mail and any accompanying attachments are confidential. The information 
is intended solely for the use of the individual to whom it is addressed. Any 
review, disclosure, copying, distribution, or use of this e-mail communication 
by others is strictly prohibited. If you are not the intended recipient, please 
notify us immediately by returning this message to the sender and delete all 
copies. Thank you for your cooperation.

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to