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

[RN 2.0.1]Documentation for new parameter rebalanceMovesBeforeCompaction used for improving rebalance speed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.1.0, 3.0
    • 2.0-beta-2
    • None
    • Security Level: Public
    • Release Note

    Description

      MB-6726 - Rebalance is slow when indexing/compaction and query load are going on in parallel

      rebalanceMovesBeforeCompaction is the parameter that customers can use during rebalance to improve rebalance speeds but at the cost of index file size.

      [ALK]
      wget --post-data='rebalanceMovesBeforeCompaction=256' --user=Administrator --password=asdasd http://lh:9000/internalSettings

      So that's usual POST to usual /internalSettings API with field name rebalanceMovesBeforeCompaction.

      Default value is 16. And that's how many in- or out- going vbuckets will be moved per node before pausing all moves, triggering views compaction and awaiting its completion.

      View compaction is forbidden during vbucket moves. So larger values means less frequent view compactions. Which means less time "spent" on it, but it also means greater disk usage by views.

      For additional info ping Alk, Pavel.

      Attachments

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

        Activity

          People

            kzeller kzeller
            anil Anil Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty