Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 50303 invoked from network); 1 Mar 2010 11:21:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 11:21:25 -0000 Received: (qmail 49290 invoked by uid 500); 1 Mar 2010 11:21:25 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 49268 invoked by uid 500); 1 Mar 2010 11:21:25 -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 49259 invoked by uid 99); 1 Mar 2010 11:21:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 11:21:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@day.com designates 207.126.148.88 as permitted sender) Received: from [207.126.148.88] (HELO eu3sys201aog102.obsmtp.com) (207.126.148.88) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Mar 2010 11:21:15 +0000 Received: from source ([209.85.220.209]) by eu3sys201aob102.postini.com ([207.126.154.11]) with SMTP ID DSNKS4ujFmf6bybOJcSAqRpnFTALhV4cHXLf@postini.com; Mon, 01 Mar 2010 11:20:55 UTC Received: by fxm1 with SMTP id 1so2808140fxm.15 for ; Mon, 01 Mar 2010 03:20:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.161.201 with SMTP id s9mr4894409fax.7.1267442454695; Mon, 01 Mar 2010 03:20:54 -0800 (PST) In-Reply-To: <79B1F47A-F7B3-4410-BBBE-79B2477115E9@maya-systems.com> References: <3A0E5276-0580-44B9-8D04-8B055455DE58@sptci.com> <96DFE183-932B-4673-B3C7-0E9B91C87E48@maya-systems.com> <90a8d1c01002270717s897c62dvd798a5974fdcfbdc@mail.gmail.com> <79B1F47A-F7B3-4410-BBBE-79B2477115E9@maya-systems.com> Date: Mon, 1 Mar 2010 12:20:54 +0100 Message-ID: Subject: Re: getRootNode() takes 27 seconds... From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2010/2/27 Fran=E7ois Cassistat : > Stefan, > > it seems that you are right. > > When using TransientRepository instead of jcr2spi, getRootNode() or getNo= de("/") is returned in 13ms. > > Somehow, it's weird that I have this problem only with the root node. I w= as having this problem without doing anything between getSession and getRoo= tNode. Depends on the tree. If you fetch the root node and spi fetches more than one level, you might potentially include a lot of nodes, more compared to a more deeper subtree. If you are using spi2davex for the remote connection, you can change the BatchReadConfig to not fetch deeper levels. See also http://markmail.org/message/nzcbrf27b2edkbzr for some links. Regards, Alex --=20 Alexander Klimetschek alexander.klimetschek@day.com