Mongo Atlas Online Archive to cloud storage

Hello Deepali!

  1. Yes, you can specify a custom archiving rule that extracts the date part of the ObjectID using MongoDB query language. See the section that says “when the current date exceeds the date inside an objectId” from https://www.mongodb.com/docs/atlas/online-archive/configure-online-archive/
  2. No, you cannot delete or modify data in the archive currently. If we archive a document with _id “123” and that document gets re-created on the collection, we will archive it a second time. There will be two documents in the archive with the _id “123”. There is no _id uniqueness constraint in Online Archive.
  3. Assuming _id is the first partition field you choose for the archive, I’d expect it to take not more than a few seconds.
  4. I’m not sure what you mean by management changes, but there is a small storage cost for Online Archive which you can see on the pricing page: Pricing | MongoDB
2 Likes