jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@day.com>
Subject Re: Batch Operations in Jackrabbit
Date Thu, 25 Sep 2008 07:58:25 GMT
hi shailesh

On Wed, Sep 24, 2008 at 5:55 PM, Shailesh Mangal
<shailesh.mangal@getzephyr.com> wrote:
> HI All,
> I am facing performance issues while coping large number of nodes.
>        Scenario: I have a node(N1) with 5000 subnodes). I wanted to
> selectively copy some of these (say 1000) sub nodes to other node(N2)
> I am using Workspace.copy(). (Iterating through all subnodes and coping one
> by one)
>  As per documentation(of Workspace.copy), "If successful, the change is
> persisted immediately, there is no need to call save".
> As per my understaning every node commits separately. But I want to commit
> all nodes as batch. so that I can save some execution time.

the result of workspace operations are committed just once at the end of the
operation (assuming you're not using JTA).


> Is it possilbe to "commit nodes  in batches while using Workspace.copy()  or
> an alternative to bulk bulk copy". I am using 1.3.4 but I can upgrade if
> newer versions have solution to this problem
> Shailesh Mangal
> Now, Test Management, is a breeze

View raw message