Sourcing sqwmng_Global.lib v2022.06 SQWareProduction for MongoDB (dbSQWare) ...
Usage: sqwmng_CompactDatabase.ksh [-h] -I instance -D databasename [+ options]
DESCRIPTION
sqwmng_CompactDatabase.ksh compact tables of database
SUPPORT
MongoDB supported versions: 2.4 <= v <= 5.1
PARAMETERS
-I instance : Target instance to compact tables.
-D databasename : Database for compact tables.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-FC type : Force true/false (by default true).
-PF num : Padding factor.
-FRT return_code : Force return code value on error.
-AddMail email : Email address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
-Locale locale : Force Locale for help display (fr,en).
-Exec : Execute commands (default, display generated commands)