jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2597) JCR query execution is taking long time
Date Wed, 14 Apr 2010 12:37:00 GMT

     [ https://issues.apache.org/jira/browse/JCR-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Alexander Klimetschek resolved JCR-2597.

    Resolution: Invalid

This is not a bug, please ask such questions on the mailing list. Note that jcr:like() can
be quite slow.

> JCR query execution is taking long time 
> ----------------------------------------
>                 Key: JCR-2597
>                 URL: https://issues.apache.org/jira/browse/JCR-2597
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: JCR API
>    Affects Versions: 1.5.4
>            Reporter: sydaiah nallabirudu
> Hi,
> I am using the below jcr query to get the results.This query will return approx : 226000
> /jcr:root/<node name>/<node name>/<node name>//*[jcr:like(@Title, '%')]order
by @updatedDate descending|#]
> This query is taking approx 8 secs to retrun the node results. 
> Jackrabbit application is logging the below statements, when query returns large result
> [#|2010-04-08T13:37:09.039-0400|INFO|sun-appserver2.1|org.apache.jackrabbit.core.persistence.bundle.util.LRUNodeIdCache|_ThreadID=49;_ThreadName=httpSSLWorkerThread-8080-4;|num=1268/10240
hits=0 miss=4300000|#]
> [#|2010-04-08T13:37:09.039-0400|INFO|sun-appserver2.1|org.apache.jackrabbit.core.persistence.bundle.util.BundleCache|_ThreadID=49;_ThreadName=httpSSLWorkerThread-8080-4;|num=647
mem=8186k max=8192k avg=12956 hits=3140478 miss=1159522|#]
> Is it meaning that jackrabbit is caching the data in memory and sorting the data.
> How can i improve the query performance

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message