jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Wyss (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2715) Improved join query performance
Date Tue, 30 Nov 2010 15:00:14 GMT

    [ https://issues.apache.org/jira/browse/JCR-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965248#action_12965248

Clemens Wyss commented on JCR-2715:

I see big improvements too :-) thanks!

BUT I have some real world examples where a simple sql2 queries perform very bad compared
to their sql1 pendants. The query .

select * from project order by jcr:score
returns 1'126 nodes and takes 84ms :-)

select * from [project] order by [jcr:score]
returns 1'126 nodes and takes 600ms , absolutely seen still ok, but compared to the sql1 execution

select * from task order by jcr:score
returns 76'281 nodes/rows and takes ~1.5s :-)

select * from [task] order by [jcr:score]
returns 76'281 nodes/rows and takes, fasten your seat belt, ~95s (!) :-(

My test where performed with the latest-greatest JR sources (2.3 SNAPSHOT)

> Improved join query performance
> -------------------------------
>                 Key: JCR-2715
>                 URL: https://issues.apache.org/jira/browse/JCR-2715
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, query
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 2.2.0
>         Attachments: SQL2SearchTest.png, ThreeWayJoinTest.png, TwoWayJoinTest.png
> Our current implementation of SQL2 join queries does not perform very well on pretty
much any non-trivial data set.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message