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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development