From dev-return-24725-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Apr 02 21:41:56 2008 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 90390 invoked from network); 2 Apr 2008 21:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 21:41:55 -0000 Received: (qmail 23296 invoked by uid 500); 2 Apr 2008 21:41:55 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 23259 invoked by uid 500); 2 Apr 2008 21:41:55 -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 23246 invoked by uid 99); 2 Apr 2008 21:41:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 14:41:55 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 21:41:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80ED3234C0B6 for ; Wed, 2 Apr 2008 14:39:24 -0700 (PDT) Message-ID: <741811052.1207172364526.JavaMail.jira@brutus> Date: Wed, 2 Apr 2008 14:39:24 -0700 (PDT) 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-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: (was: 1.5.2) 2.0.0 PERF issues are postponed to 2.0 (even if we can fix them before) > [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 > > > 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.