Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19953

Improve Distinct operator

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 4.5.1, 5.0.0
    • 5.0.0
    • query

    Description

      Currently Distinct operator is blocking operator. Make it stream operator for following reasons.

      • Improve performance
      • If we only need to know if the document already present not the document, this reduces memory usage
      • We can preserve the order of the input. This allows to use index order.

      This will help in the following cases.

      • Distinct in projection
      • UNION queries
      • Part of INTERSECT, INTERSECT ALL, EXCEPT, EXCEPT ALL querires

      Attachments

        Issue Links

          Activity

            People

              Sitaram.Vemulapalli Sitaram Vemulapalli
              Sitaram.Vemulapalli Sitaram Vemulapalli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty