Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 20824 invoked from network); 26 Feb 2010 18:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 18:52:07 -0000 Received: (qmail 7500 invoked by uid 500); 26 Feb 2010 18:52:07 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 7463 invoked by uid 500); 26 Feb 2010 18:52:07 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 7451 invoked by uid 99); 26 Feb 2010 18:52:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 18:52:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.55.186.13] (HELO s010.panelboxmanager.com) (72.55.186.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 18:51:58 +0000 Received: from dsl-145-206.aei.ca ([66.36.145.206] helo=[192.168.0.196]) by s010.panelboxmanager.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Nl5Hl-0002z7-5a for users@jackrabbit.apache.org; Fri, 26 Feb 2010 13:51:37 -0500 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: getRootNode() takes 27 seconds... From: =?iso-8859-1?Q?Fran=E7ois_Cassistat?= In-Reply-To: <3A0E5276-0580-44B9-8D04-8B055455DE58@sptci.com> Date: Fri, 26 Feb 2010 13:51:34 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <96DFE183-932B-4673-B3C7-0E9B91C87E48@maya-systems.com> References: <3A0E5276-0580-44B9-8D04-8B055455DE58@sptci.com> To: users@jackrabbit.apache.org X-Mailer: Apple Mail (2.1077) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s010.panelboxmanager.com X-AntiAbuse: Original Domain - jackrabbit.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - maya-systems.com X-Source: X-Source-Args: X-Source-Dir: Thanks Rakesh for your reply, actually root have only one node, below 2 or 3 levels of that of that = there is one node with 1500 nodes, this is the maximum. All other nodes = have between 0 and 10 nodes. 1500 may be a lot and I may implements a tree strategy to decrease the = number of child of this node. But does that sub-sub-sub-sub-node make = the getRootNode() going that slow? F Le 2010-02-26 =E0 1:16 PM, Rakesh Vidyadharan a =E9crit : >=20 > On 26 Feb 2010, at 11:32, Fran=E7ois Cassistat wrote: >=20 >> I have inserted ~25K nodes with ~1500 files (about 1.6G of files) and = now Jackrabbit takes 27 seconds to get the root node, is it normal? = Maybe it is because am I using the standalone server (2.0)? Also I am = making tests since jcr2spi. >>=20 >> I'm a newbie with JackRabbit configuration files, so I did not make = much modifications to repository.xml >=20 > In my experience the biggest issue is the number of child nodes under = a parent (and not repository configuration). The general recommendation = is to try and keep child nodes low (1000 does not seem too bad in my = experience), but not 25K under a single parent. >=20 > Rakesh