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

Map predicates on min time to a portion of _id

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • Query Optimization 2021-02-22, Query Optimization 2021-03-08

      As part of the time-series schema, min time is embedded into _id. In addition to using the control.min.time field, map min time predicates to predicates on time to the min time portion of _id as well. This should lead to guaranteed index utilization. This should be done inside $unpackBucket's doOptimizeAt() for $eq, $gt, $lt, $gte, $lte only.

            Assignee:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Reporter:
            jacob.evans@mongodb.com Jacob Evans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: