diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2021-04-23 08:25:44 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-05 13:32:44 +0000 |
commit | 3f43af643ccbd4bd2135dd5999410c2c5578fe1a (patch) | |
tree | 9eead965e0d62403c919269d69d6ffba632b7844 /src/mongo/db/ops | |
parent | ea6dcb3339eafc59f276210373eee80f51db428c (diff) | |
download | mongo-3f43af643ccbd4bd2135dd5999410c2c5578fe1a.tar.gz |
SERVER-56157 Timeseries MinMax is now stored in a flat data structure to optimize traversal perf at the expense of inserts
When users are inserting measurements with a consistent field order we don't need to search and can just traverse the MinMax structure in lock-step with the measurement.
If users do not provide a consistent field order we fallback to map lookup when we reach a certain search threshold to limit impact of linear search.
Diffstat (limited to 'src/mongo/db/ops')
0 files changed, 0 insertions, 0 deletions