All Products
Search
Document Center

Log cleanup strategy of ApsaraDB for MongoDB

Last Updated: Aug 04, 2020

Overview

This topic describes the log clean-up strategy of ApsaraDB for MongoDB.

Details

  • Users are prohibited from using the db.repairDatabase command.
  • When the logs takes up too much space, an automatic cleanup strategy will be triggered.
note: In an emergency, use the db.runCommand({compact: ’oplog.rs’}) command to clear the logs.

Applicable to the following product

  • ApsaraDB for MongoDB