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

Optimize DeltaMemStore for case of no matching deltas

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: perf, tablet
    • Labels:
      None

      Description

      Currently in a scan workload which scans 280 columns I see DeltaMemStore iteration taking up a significant amount of CPU in the scan, despite the fact that the dataset has no updates. Of 1.6sec in MaterializingIterator::NextBlock, we spent 0.61s in DMSIterator::PrepareBatch and 0.14s in DMSIterator::MayHaveDeltas. So, about 46% of our time here is on wasted work.

        Attachments

          Activity

            People

            • Assignee:
              ZhangYao ZhangYao
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: