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

CBO: improve memory management for UPDATE STATISTICS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • query
    • None
    • Untriaged
    • 1
    • No

    Description

      UPDATE STATISTICS allows all indexes on a collection to be included, which may result in many terms that need histograms constructed. Each term will require memory to store values from all samples as well as sorting of the values. In case of large number of terms there is a risk of running out of memory.

      Need a mechanism to control memory usage and potentially do multiple passes if number of terms in UPDATE STATISTICS is large.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty