To repair a database, right-click with the right mouse button on the database name and select the option "Repair" from in the context menu. The selected database will be is checked for possible errors and inconsistent data storage and they will begets fixed if necessary. Furthermore, all indexes within the database will be are rebuilded.
Warnung |
---|
This command creates a global write lock and blocks other operations until it is finished. |
Hinweis |
---|
This function operation requires additional disk space equal to the size of your current documents plus 2 gigabytes. |
Tipp |
---|
More detailed explanationexplanations ofon this functionality can be read be found on http://docs.mongodb.org/manual/reference/command/repairDatabase/. |