Mongodb under my server host, among which the oplog.rs set in local has occupied 10G size. I want to clean it up. Can I empty it directly? If it cannot be emptied directly, how should it be cleaned?
If you have replica set, don’t delete it.Official documentsBold text