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

Skip generating sequence operator if it only has one child operator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      The planner generates a sequence operator in many cases, in particular it does not check how many child operators are there before generating the new sequence operator. We could do an optimization at runtime to avoid generate a sequence operator if it only has a single child operator. This is somewhat similar to the parallel operator, where the planner builds one in, but at execution time we only generate a parallel operator if maxparallelism is not 1.

      Attachments

        For Gerrit Dashboard: MB-26790
        # Subject Branch Project Status CR V

        Activity

          People

            bingjie.miao Bingjie Miao
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty