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

Planner sample-based index size estimation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Neo.next
    • CheshireCat.Next
    • secondary-index
    • None
    • 1

    Description

      This MB is a placeholder for a potential Planner sample-based size estimation feature.

      Planner's size estimation of new indexes currently uses a heuristic that they will each take all of the available memory on indexer nodes that are not already above some memory saturation threshold. A better estimate should be possible via statistical sampling of documents. The sample size needed is independent of the population size (number of documents):
      https://en.wikipedia.org/wiki/Standard_error#Standard_error_of_the_mean

      For most purposes, a sample size of 1,000 is sufficient for statistical significance at high confidence.

      Attachments

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

        Activity

          People

            amit.kulkarni Amit Kulkarni
            kevin.cherkauer Kevin Cherkauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty