Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 81 forks source link

Add "--backup.mongodump.force_table_scan" option #302

Closed dschneller closed 5 years ago

dschneller commented 5 years ago

If set, this enables mongodump's --forceTableScan option which can speed up dumps significantly, especially when custom id fields are used or when the id values are large.

According to the discussion in TOOLS-845 this is safe to do for WiredTiger.

Defaults to false.

timvaillancourt commented 5 years ago

LGTM, thanks @dschneller