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: session.save() takes too long
Date Mon, 26 May 2008 14:03:38 GMT
hi thiago

On Mon, May 26, 2008 at 3:05 PM, Thiago Monteiro <tsmonteiro@gmail.com> wrote:
> Hello everyone,
> i have to convert a large set of data from an old repository (stored in a
> DB) to the new one (Jackrabbit) using BundleDbPersistenceManager.
> The number of nodes to be added is of about 900000, so speed here is
> crucial. I'm calling session.save() every thousand nodes, but this call
> alone takes about 15-20 minutes. The nodes are versionable and every node

i agree that 15-20 minutes is way too slow. a couple of questions:

what db are you targeting?
how much memory have you allocated for the jvm?
are large binaries involved?

please provide your confiuguration, if possible.


> has two chld nodes (it is a necessary structure). Also, each node has
> anything between 5 and 20 properties. Finally, the overall repository
> structure is built so no node has more than 4000 children.
> I also tried to save less nodes in each session.save() call, but with no
> success regarding better time. I'd like to avoid very large calls, so,
> should anything happen during the conversion, i am able to restart from a
> given point.
> Any ideias on how to make it go faster?
> --
> View this message in context: http://www.nabble.com/session.save%28%29-takes-too-long-tp17471593p17471593.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message