I have a collection with half billion of records. Every second inserting avg 100 docs on it. It has index on datetime field, which size about 5 GB.
"created" : ISODate("2020-01-01T12:48:51.671Z")
So, quection is - if I create field of value of rounded datetime by minute, will it use less storage for this index?
I mean, every record will have field with value, for eg:
"created" : ISODate("2020-01-01T12:48:00Z")
UPDATED:
I tested in collection with about 20m docs. Results:
"_id_" : 221757440,
"created" : 210997248,
"created_rounded" : 97366016