Share BSONColumn across BucketUnpackers in TrialStage

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-58579 refactored the BucketUnpacker to use an `UnpackerImpl` interface to support a new `BSONColumn` type to support compression of time series columns. When SERVER-58579 landed it wasn't clear how we can best share the bucketUnpacker in both branches of the TrialStage,

      https://github.com/10gen/mongo/pull/426#discussion_r697471248

      While the work done in each TrialStage might be a little different, if they share the same `BSONColumn` then any bucket that has been previously unpacked and hence uncompressed will be cached and should give a perf gain. We should see how we can best share the `BSONColumn` across multiple BucketUnapckers.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: