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

Parallel operator stats only relate to one child

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • query

    Description

      Currently, the stats for the parallel execution operator are displayed for only one copy of the child, not all.
      This is currently coded like this because in this way, the plan tree and the execution tree match.
      While this gives a good idea of how much of a bottleneck the child operator is, and therefore is good to go as far as the feature is concerned, this is not precise as it could be.
      We have several options
      1- leave things as they are (imprecise)
      2- break the matching between plan and execution, and have plan report 1 child, execution report all children (could affect the UI)
      3- change both plan and execution to report all copies of the child (confusing as far as plan goes, might break test runner and UI)

      The fourth option - which is to aggregate all children is expensive to execute (we have to create an extra copy of the child and aggregate the stats in there, marshal it and then release the extra child), has memory implications and only works if the child is a leaf, so I think this is a no go.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            marco.greco Marco Greco (Inactive)
            marco.greco Marco Greco (Inactive)
            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