jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Müller <Kevin.Muel...@cib.de>
Subject AW: Bulk load of several nodes
Date Fri, 03 Feb 2012 09:51:59 GMT
Are there any plans to maybe extend this in near future ?
When you have a Lucene query that should return some properties, you get 100 hits and none
were cached I think it can make quite a difference performance-wise if there will be 100 DB
queries or 1, couldn't it ?

Regards, Kevin

-----Ursprüngliche Nachricht-----
Von: Alexander Klimetschek [mailto:aklimets@adobe.com] 
Gesendet: Dienstag, 17. Januar 2012 23:54
An: users@jackrabbit.apache.org
Betreff: Re: Bulk load of several nodes

On 16.01.12 13:51, "Lukas Kahwe Smith" <mls@pooteeweet.org> wrote:
>checkout http://java.net/jira/browse/JSR_333-38
>
>the necessary changes have already been applied in Jackrabbit 2.3.x

I don't know if they actually map to a similar batch method on the
persistence manager (^= database access in the OP case). In any case, it
does not change the situation for jcr queries - the nodes will already be
fetched (individually) when you ask for a row or its path or its node.

The above method was probably introduced for remote clients, such as
JCR-RMI or SPI/dav, which are all way above the persistence manager layer.

Cheers,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel





Mime
View raw message