Template:SQWareProduction sqwmys RotateLogSlowQuery.ksh help

From Wiki_dbSQWare
Revision as of 19:19, 9 April 2022 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Sourcing sqwmys_Global.lib v2022.02 SQWareProduction for MySQL (dbSQWare) ... 

Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options]

DESCRIPTION
   sqwmys_RotateLogSlowQuery.ksh rotate slow_query_log_file
SUPPORT
   MySql   supported versions: 5.0 <= v <= 8
   MariaDB supported versions: 5.5 <= v <= 11.6

PARAMETERS
     -I  instance       : Target instance to rotation.
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.
     -Local             : Don't copy slow_query_log_file on dbsqware@SQWareWebHost (or set gvsqw_LocalSlowQuery to yes).
     -AsyncCopy         : Don't copy slow_query_log_file on dbsqware@SQWareWebHost (copy make by SQWareCentral).
     -Locale   locale   : Force Locale for help display (fr,en).
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).