Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 89430 invoked from network); 1 Jun 2007 15:01:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 15:01:01 -0000 Received: (qmail 32490 invoked by uid 500); 1 Jun 2007 15:01:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 32469 invoked by uid 500); 1 Jun 2007 15:01:04 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 32457 invoked by uid 99); 1 Jun 2007 15:01:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 08:01:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Jun 2007 08:00:58 -0700 Received: (qmail invoked by alias); 01 Jun 2007 15:00:37 -0000 Received: from mail.greenbytes.de (EHLO [192.168.1.87]) [217.91.35.233] by mail.gmx.net (mp056) with SMTP; 01 Jun 2007 17:00:37 +0200 X-Authenticated: #1915285 X-Provags-ID: V01U2FsdGVkX19n9JRzOMFnPATSoOJyxpFgbZtfj/kY7UU+UdYK+w /F72xUNP6bfjH9 Message-ID: <46603491.1020906@gmx.de> Date: Fri, 01 Jun 2007 17:00:33 +0200 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: XPath versus SQL in Jackrabbit References: <10913190.post@talk.nabble.com> In-Reply-To: <10913190.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org gsoap wrote: > Hi, > > I want to know which one of XPath/SQL is fastest (optimal) while using > Jackrabbit? It doesn't matter. > Does jackrabbit first translates SQL into XPath before execution? Both are parsed into an abstract query representation. > Is there any underlying overhead of translation between XPath or SQL or vice > versa? Best regards, Julian