Hello,
We are experiencing extremely slow XQUERY performance for the XDMP:node-replace
function. Following is an XQUERY snippet that consistently takes more than 5
secs on one of our servers (Mark Logic 3.2).
============================================
let $docbookNode := <p>hello</p>
let $path := doc(".....")/../../
return
xdmp:node-replace($path,$docbookNode)
============================================
On another (different) Mark Logic installation (3.2), the same code takes
consistently less that 300 milliseconds!
We've compared the server settings and they appear to be the same across both
servers (they are probably the default Mark Logic installation settings)
On examining the log folder, we found that every time an "xdmp:node-replace"
was executed, the following lines are being added to the error log file:
============================================
2009-03-16 06:45:32.114 Info: Saving C:\Program
Files\MarkLogic\Data\Forests\Documents\00000470
2009-03-16 06:45:32.880 Info: Saved 15 MB in 1 sec at 15 MB/sec to C:\Program
Files\MarkLogic\Data\Forests\Documents\00000470
2009-03-16 06:45:33.036 Info: Merging 62 MB from C:\Program
Files\MarkLogic\Data\Forests\Documents\0000046f and C:\Program
Files\MarkLogic\Data\Forests\Documents\00000470 to C:\Program
Files\MarkLogic\Data\Forests\Documents\00000471
2009-03-16 06:45:37.661 Info: Merged 55 MB in 5 sec at 11 MB/sec to C:\Program
Files\MarkLogic\Data\Forests\Documents\00000471
2009-03-16 06:45:37.958 Info: Deleted C:\Program
Files\MarkLogic\Data\Forests\Documents\0000046f
2009-03-16 06:45:38.098 Info: Deleted C:\Program
Files\MarkLogic\Data\Forests\Documents\00000470
============================================
What is going wrong here? What could be causing all the "merging" activity?
Thanks in advance.
Regards,
Deshbir
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general