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

FTS / moss - add option (CompactionMaxSegments) to compact when max # segments reached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • fts, moss

    Description

      Compaction percentage is calculated (roughly) as (size of new data) / (size of existing data)

      during the lifetime of an index, the "size of existing data" grows larger and larger, if I set my compaction ratio is set as 0.5 then the number of segments contributing to the "size of new data" has to grow very tall in order to reach the ration of 0.5. Over time, this excessive height of the segment stack will affect scan performance.

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            tai.tran Tai Tran (Inactive)
            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