Template:SQWareProduction sqwmng CompactDatabase.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwmng_Global.lib v2024. | Sourcing sqwmng_Global.lib v2024.02 SQWareProduction for MongoDB (dbSQWare) ... | ||
Usage: sqwmng_CompactDatabase.ksh [-h] -I instance -D databasename [+ options] | Usage: sqwmng_CompactDatabase.ksh [-h] -I instance -D databasename [+ options] | ||
| Line 13: | Line 13: | ||
-D databasename : Database for compact tables. | -D databasename : Database for compact tables. | ||
OPTIONS | OPTIONS | ||
-h | -h : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-FC type : Force true/false (by default true). | -FC type : Force true/false (by default true). | ||
-PF num : Padding factor. | -PF num : Padding factor. | ||
-FRT | -FRT code : Force return code value on error. | ||
-AddMail email | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). | -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). | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
-Locale | -Locale locale : Force Locale for help display (fr,en). | ||
-Exec : Execute commands (default, display generated commands) | -Exec : Execute commands (by default, display generated commands). | ||
</pre> | </pre> | ||
Revision as of 16:11, 7 April 2024
Sourcing sqwmng_Global.lib v2024.02 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 : Display the full usage.
-s : Display samples of usage.
-FC type : Force true/false (by default true).
-PF num : Padding factor.
-FRT 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 (by default, display generated commands).