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

Turn off fragmentation based auto compaction for magma

    XMLWordPrintable

Details

    Description

      Magma performs incremental auto compaction internally and does not require an external agent trigger to coordinate compactions. We can turn off auto-compaction permanently for magma. The UI option to perform manual compaction can be still kept as it is for debuggability purposes or performing full compaction on magma.

       

      Magma reports data size as logical size estimated by adding up the document sizes before compression. If we run pure create workload, the on-disk size can be lesser than estimated logical data size. The default ns_server fragmentation computation uses the formula (disk usage - data size)/disk_usage. Since data size could be larger than disk size, we end up reporting -ve fragmentation during 100% create workload. We need to set fragmentation to zero if data size > disk usage.

      Attachments

        For Gerrit Dashboard: MB-38053
        # Subject Branch Project Status CR V

        Activity

          People

            sarath Sarath Lakshman
            sarath Sarath Lakshman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty