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

Support multikey indexes on time-series measurements

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Execution Team 2021-08-23

      A multikey index will use the time-series buckets non-positional min and max data to build the index. The same indexes will be created as described in the ascending and descending indexes ticket. This works well for non-positional queries such as db.multi.find({data: 5}) or db.multi.find({data: {$gt: 9}}). For positional queries such as db.multi.find({data: [5]}) or db.multi.find({data: [5, 9]}), the non-positional min and max data can be computed from the query. The indexes can then be used to find the time-series buckets that satisfy the min and max range of the query. Any time-series buckets that match this criterion will need to have their measurements looked over for matches.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: