Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

About this task

MongoDB uses the WiredTiger storage engine, which provides a repair command.
The repair command in MongoDB with the WiredTiger storage engine checks for inconsistencies, rebuilds indexes, and compacts data by removing unused space, potentially reducing the database's size on disk.
It also attempts to recover as much data as possible from corrupted or damaged files.


Procedure


  • Windows Command line:

    "C:\Program Files\SVA\BVQ\bvq-core\bvq-mongodb\bin\mongod.exe" --dbpath "C:\ProgramData\SVA\BVQ\bvq-mongodb\db" --directoryperdb --wiredTigerDirectoryForIndexes --repair
    
    





























  • No labels