Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1049

[PERF] Speed improvement in Search operation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 2.0.0-M15
    • Component/s: core
    • Labels:
      None

      Description

      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)

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        This is not a bug.

        Added a tag in the subject to be able to find all the PERF issues quickly

        Show
        Emmanuel Lecharny added a comment - This is not a bug. Added a tag in the subject to be able to find all the PERF issues quickly
        Hide
        Emmanuel Lecharny added a comment -

        PERF issues are postponed to 2.0 (even if we can fix them before)

        Show
        Emmanuel Lecharny added a comment - PERF issues are postponed to 2.0 (even if we can fix them before)
        Hide
        Emmanuel Lecharny added a comment -

        Moved back to 2.0.0-RC1

        Show
        Emmanuel Lecharny added a comment - Moved back to 2.0.0-RC1
        Hide
        Emmanuel Lecharny added a comment -

        Potponed perf improvements to 2.0-RC2

        Show
        Emmanuel Lecharny added a comment - Potponed perf improvements to 2.0-RC2
        Hide
        Emmanuel Lecharny added a comment -

        Fixed last week.

        Show
        Emmanuel Lecharny added a comment - Fixed last week.

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development