All Products
Document Center

Log cleanup strategy of ApsaraDB for MongoDB

Last Updated: Aug 04, 2020


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


  • 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: ’’}) command to clear the logs.

Applicable to the following product

  • ApsaraDB for MongoDB