Mongo
PHP Manual

Mongo::repairDB

(PECL mongo >=0.9.0)

Mongo::repairDBRepairs and compacts a database

설명

public array Mongo::repairDB ( MongoDB $db [, boolean $preserve_cloned_files= false [, boolean $backup_original_files= false ]] )

인수

db

The database to drop.

preserve_cloned_files

If cloned files should be kept if the repair fails.

backup_original_files

If original files should be backed up.

반환값

Returns the database response.


Mongo
PHP Manual