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

plasma does not support time series workloads

    XMLWordPrintable

Details

    • Untriaged
    • No
    • Storage-Sprint-Feb-08-2019, Storage-Sprint-Mar-15-2019

    Description

      Plasma Index is a skip list with pages at the lowest level.

      If a time series workload is used on plasma, where new keys only get appended to the tail of the skip list while documents from the start of the skip list just expire away, that puts a lot of load on the mvcc purger which is unable to keep up.

      This causes the purge ratio to shoot up and data_size to explode when customers use expiry or TTL on the kv documents.

      Current workarounds  recommended: 

      The command to reduce the number of page deltas are as follows..

       

      curl node.ip.address:9102/settings -u Administrator:password -X POST -d "{\"indexer.plasma.mainIndex.maxNumPageDeltas\":30}"
       
      curl node.ip.address:9102/settings -u Administrator:password -X POST -d "{\"indexer.plasma.backIndex.maxNumPageDeltas\":30}"

      Attachments

        Issue Links

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

          Activity

            People

              sanjit.chauhan Sanjit Chauhan (Inactive)
              sundar Sundar Sridharan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty