You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Kevin Müller <Ke...@cib.de> on 2012/02/03 10:51:59 UTC

AW: Bulk load of several nodes

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" <ml...@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