diff --git a/source/reference/command/repairDatabase.txt b/source/reference/command/repairDatabase.txt index f7d02f30377..49a704befb2 100644 --- a/source/reference/command/repairDatabase.txt +++ b/source/reference/command/repairDatabase.txt @@ -96,22 +96,31 @@ Behavior .. include:: /includes/warning-blocking-global.rst -.. note:: :dbcommand:`repairDatabase` requires free disk space equal to the size - of your current data set plus 2 gigabytes. If the volume that holds dbpath - lacks sufficient space, you can mount a separate volume - and use that for the repair. When mounting a separate volume for - :dbcommand:`repairDatabase` you must run :dbcommand:`repairDatabase` - from the command line and use the - :option:`--repairpath ` - switch to specify the folder in which to store - temporary repair files. - - The time requirement for :dbcommand:`repairDatabase` depends on the size of the data set. :dbcommand:`repairDatabase` recreates all indexes in the database. +MMAPv1 +~~~~~~ + +:dbcommand:`repairDatabase` requires free disk space equal to the size of your +current data set plus 2 gigabytes. +If the volume that holds dbpath lacks sufficient space, you can mount a separate volume +and use that for the repair. When mounting a separate volume for +:dbcommand:`repairDatabase` you must run :dbcommand:`repairDatabase` +from the command line and use the +:option:`--repairpath ` +switch to specify the folder in which to store +temporary repair files. + +WiredTiger +~~~~~~~~~~ + +:dbcommand:`repairDatabase` performs the operation in-place and does not require +additional disk space. + + ``repairDatabase`` and ``compact`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~