jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "howard.zhuzhu" <howard.h...@gmail.com>
Subject XQUERY Optimization
Date Fri, 13 Nov 2009 02:12:32 GMT

    I have finished the migration  to new repository with datastore . The
old repository's size nearly 50G.
    First query all "nuke:file" nodes from the old repository and write them
to a folder with a property file who records all filenames with
corresponding jcr-path . 
    Then write all files to an new repository . 
    But the xquery with  "//element(*, nuke:file) " runs  too slow (In my
condition, it Occupied 436 minutes ).  

    My cnd definition  looks like this : 
     [nuke:file] > nt:hierarchyNode, mix:versionable, mix:lockable
     - nuke:fileID (string) primary mandatory
     - nuke:author (string)
     - nuke:name (string)
     - nuke:size (long)
     - nuke:contentType (string)
     - nuke:keywords (string)
     - nuke:modifyUser (string)
     - nuke:modifyTime (date)
     - nuke:notification (string)
     - nuke:content (binary)

my search configuration : 
    are there any ways to optimize this query ?

View this message in context: http://n4.nabble.com/XQUERY-Optimization-tp620713p620713.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message