Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85873

Remove subsequent re-computation of unchanged BSONColumn data before stable anchor point

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-02-19, Execution Team 2024-03-04
    • 156

      The current proposed callflow of calling BSONColumnBuilder::intermediate repeatedly on opened buckets both before and after new inserts (i.e. appends) leads to redundant compression computation on all bucket data prior to the stable anchor point returned by intermediate.

      Consider storing the compression result of data prior to the stable anchor point so that subsequent calls to intermediate only compress 1-2 Simple8b blocks instead of the entire column.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: