Template:SQWareProduction sqwmys RotateLogSlowQuery.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 sqwmys_Global.lib | Sourcing sqwmys_Global.lib v2020.01 SQWareProduction for MySQL (dbSQWare) ... | ||
Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | ||
Line 7: | Line 7: | ||
sqwmys_RotateLogSlowQuery.ksh rotate slow_query_log_file | sqwmys_RotateLogSlowQuery.ksh rotate slow_query_log_file | ||
SUPPORT | SUPPORT | ||
MySql supported versions: 5.0 <= v <= | MySql supported versions: 5.0 <= v <= 8 | ||
MariaDB supported versions: 5.5 <= v <= 11.3 | MariaDB supported versions: 5.5 <= v <= 11.3 | ||
PARAMETERS | PARAMETERS | ||
-I instance : Target instance | -I instance : Target instance to rotation. | ||
OPTIONS | OPTIONS | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
-AddMail email : Email | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-Local : Don't copy slow_query_log_file on dbsqware@SQWareWebHost (or set gvsqw_LocalSlowQuery to yes). | -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). | -AsyncCopy : Don't copy slow_query_log_file on dbsqware@SQWareWebHost (copy make by SQWareCentral). | ||
-Locale locale : Force Locale for help display (fr,en). | -Locale locale : Force Locale for help display (fr,en). | ||
-NoMail : | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
</pre> | </pre> |
Revision as of 19:36, 8 March 2020
Sourcing sqwmys_Global.lib v2020.01 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.3 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).