hi antonio On Mon, Jun 9, 2008 at 5:36 PM, MARTINEZ Antonio <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using JackRabbit 1.4.4 with MySql bundle. The string are very small, > I would say 10 bytes average and some strings are 30 bytes. So I'm not > sure DataStore would be of any benefit. > > Is there something else that can be done to improve the saving time ? > Did anybody else have a similar issue?
i ran a quick test on my local machine (2 ghz macbook pro) with mysql 5.0 running on the same machine and using bundle mysql pm; adding 6k child nodes with 15 string properties of 100 chars each takes ~2 seconds, saving them takes ~44 seconds. i ran jackrabbit strand-alone, i.e. w/o tx. maybe you're experiencing a high network latency? cheers stefan > > Many thanks, > Antonio > > > > -----Original Message----- > From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 08, 2008 11:00 PM > To: [email protected] > Subject: Re: After session.save() takes 15 minutes for 6K nodes > > On Fri, Jun 6, 2008 at 9:13 PM, MARTINEZ Antonio > <[EMAIL PROTECTED]> wrote: >> I have an issue saving 6K inside a transaction on Jboss. I have about >> 6K Nodes in the tree with about 15 String properties each. > > How long are the Strings (average and maximum)? If you have long > strings, consider using the DataStore (since Jackrabbit 1.4, see here > http://wiki.apache.org/jackrabbit/DataStore). > > Are you using a bundle persistence manager? Which version of Jackrabbit > do you use? > > Regards, > Alex > > -- > Alexander Klimetschek > [EMAIL PROTECTED] >
