Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1049

[PERF] Speed improvement in Search operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 2.0.0-M15
    • core
    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: