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

Investigate factoring out PartitionIterator partition comparison code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Optimization 2021-06-14

      Its possible that we could share partition key comparision code with the PartitionIterator to optimize memory usage in the non-full cases. Since we're sorting by

      {partitionFields, densifyField}

      we can throw away data from previous partitions once we've seen a value from the next partition.

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            joseph.kanaan@mongodb.com Joe Kanaan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: