Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 82175 invoked from network); 16 Jun 2010 07:28:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 07:28:53 -0000 Received: (qmail 2466 invoked by uid 500); 16 Jun 2010 07:28:52 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2259 invoked by uid 500); 16 Jun 2010 07:28:50 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 2238 invoked by uid 99); 16 Jun 2010 07:28:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 07:28:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 07:28:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5G7SMfY021172 for ; Wed, 16 Jun 2010 07:28:23 GMT Message-ID: <23410532.25421276673302829.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 03:28:22 -0400 (EDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-1049) [PERF] Speed improvement in Search operation In-Reply-To: <18931452.1188525870483.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1049: ----------------------------------------- Fix Version/s: 2.0.0-RC2 (was: 2.0.0-RC1) Potponed perf improvements to 2.0-RC2 > [PERF] Speed improvement in Search operation > -------------------------------------------- > > Key: DIRSERVER-1049 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1049 > Project: Directory ApacheDS > Issue Type: Improvement > Components: core > Affects Versions: 1.5.1 > Reporter: Emmanuel Lecharny > Fix For: 2.0.0-RC2 > > > A search operation based on a single attribute, like (uid=user.123), should not pass through the optimizer at all, as we don't need to compute the number of entries. > What we have now is that the search is built as a conjonction (AND) operation as if we have injected this filter : > (& (objectclass =* ) (uid = user.123)) > The cost of doing such a count is not negligeable (5% of the overall operation) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.