Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2855

Lazy-create DeltaMemStores on first update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • perf, tserver
    • None

    Description

      Currently DeltaTracker::DoOpen creates a DeltaMemStore for each DRS. If we assume that most DRS don't have any deltas, this ends up wasting quite a bit of memory. Looking at one TS in a production cluster, about 1GB of the ~14G heap is being used by DMS. Of that, 464MB is data and the remainder is overhead.

      This would likely improve other code paths too to fast-path out any DMS-related code.

      Attachments

        Activity

          People

            helifu LiFu He
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: