We upgraded all MongoDB cluster to version 7.x
The main improvement in this version is that MongoDB now supports deleting entries from a timeseries collection.
A feature that was normal in regular collections.
Timeseries collections allow efficient storage and access to time series data in MongoDB. IoT Insights has supported them early on for processed data collections.
Previously you got an error in IoT Insights when you selected to delete data from a timeseries collection.
With the new deletion feature they are handled like regular collections and the deletion is successful.
MongoDB 7.x also provides serval new feature and improvements (for complete list see https://www.mongodb.com/docs/upcoming/release-notes/7.0/):
- Compound Wildcard Indexes: fewer indexes possible
- Slot-Based Query Execution Engine: additional, improved performance
- aggregation: $median, $percentile
- time series: delete / bulk delete
6.1 (included in 7.0): - PCRE library to PCRE2 for regular expressions
- serverStatus changes
6.2 (included in 7.0):
- collStats deprecated https://www.mongodb.com/docs/v7.0/reference/command/collStats/#mongodb-dbcommand-dbcmd.collStats
- currentOp deprecated
6.3 (included in 7.0):
- aggregation: $bitAnd, etc.
- serverStatus changes
- Time Series Collection Custom Bucketing Parameters: bucketMaxSpanSeconds, bucketRoundingSeconds
- compact Support for Time Series Collections