I seem to be having an issue with the oplog.rs@local collection causing a huge size expansion resulting in significant costs. I can run db.stats() to confirm this. It will not release the data back and I cannot seem to find a way to do it myself via compact() (permissions issues), scaling down or testing resilience. I have tried to create roles via the atlas UI and the atlas CLI to no avail. I cannot access the local db which I presume is by design? Am I correct in assuming I need to engage premium support to be able to resolve this?
Skip to main content
This can only be done on M10+ clusters and for system collections (oplog being one) extra permissions are required.
https://www.mongodb.com/docs/manual/reference/command/compact/#compact-required-privileges
See Deleted sizeable content from database, back ups and DB did not shrink - #2 by chris for how to execute a compact correctly in MonogDB Atlas.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
mongocxx generate build files failed | 2 | 672 | May 2024 |
MongoDB 5.0.28 Release Artefacts | 3 | 348 | Jul 2024 |
Mirrored Reads for Aggregation $match stage | 1 | 219 | Jul 2024 |
Error “Invalid UTF-8 string in BSON document” after rebuild on Windows | 0 | 154 | Aug 2024 |
MongoServerError[Unauthorized] | 1 | 107 | Nov 2024 |