Sourcing sqwmys_Global.lib v2019.01 SQWareProduction for MySQL (dbSQWare) ...
Usage: sqwmys_OptimizeDatabase.ksh [-h] -I instance -D databasename [+ options]
DESCRIPTION
sqwmys_OptimizeDatabase.ksh optimize tables of database
SUPPORT
MySql supported versions: 5.0 <= v <= 5.7
MariaDB supported versions: 5.5 <= v <= 11.3
PARAMETERS
-I instance : Target instance for optimize tables.
-D databasename : Database for optimize tables.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-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 : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
-Exec : Execute commands (default, display generated commands)