[MarkLogic Dev General] Insertion of documents to multiple locations.
Mahitha T U
mahita123 at gmail.com
Wed Sep 14 23:26:04 PDT 2011
I have an application, where a java application invokes an xquery(residing
in destination db) to copy document from one ML db to another ML db.
The same document needs to be inserted to multiple location in the
Shall we have Java application spawn multiple threads to invoke the xqy
(which will fetch doc from source db and insert to a single location)or the
xquery file itself fetch the doc from source db and insert to multiple
locations sequentially or parallely using multiple threads .
Which of these are the most memory efficient way to handle this? I would
like also know memory /chache is handled during document insertion.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General