I would like to know if it is possible to finish individual fields in a document, and not the entire document.
After reading the documentation on TTL indexes and expiring data , it is possible that field-based documents can be completed, however I would like to confirm.
The background for this question is that I have a Statistics collection with fields for monthly, weekly, daily, and hourly statistics in each document. I could break it down into 4 separate collections so that the documents in each collection could use different TTLs, however I believe that it would also mean that I would need to properly split my bulk updates into one bulk update for each collection. I would like, if possible, to use the effectiveness of one separate operation.
source
share