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 v2024. | Sourcing sqwmys_Global.lib v2024.02 SQWareProduction for MySQL (dbSQWare) ... | ||
Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | Usage: sqwmys_RotateLogSlowQuery.ksh [-h] -I instance [+ options] | ||
| Line 13: | Line 13: | ||
-I instance : Target instance to rotation. | -I instance : Target instance to rotation. | ||
OPTIONS | OPTIONS | ||
-h | -h : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-Opt option : Additional options for mysqldumpslow (-r -a -l ...). | -Opt option : Additional options for mysqldumpslow (-r -a -l ...). | ||
| Line 20: | Line 20: | ||
-SlowOption3 opt3 : Sort option2 (by default, ae). | -SlowOption3 opt3 : Sort option2 (by default, ae). | ||
-FRT return_code : Force return code value on error. | -FRT return_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. | ||
-Locale | -Locale locale : Force Locale for help display (fr,en). | ||
-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). | ||
</pre> | </pre> | ||
Revision as of 16:11, 7 April 2024
Sourcing sqwmys_Global.lib v2024.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.1
MariaDB supported versions: 5.5 <= v <= 11.1
PARAMETERS
-I instance : Target instance to rotation.
OPTIONS
-h : Display the full usage.
-s : Display samples of usage.
-Opt option : Additional options for mysqldumpslow (-r -a -l ...).
-SlowOption1 opt1 : Sort option1 (by default, at).
-SlowOption2 opt2 : Sort option2 (by default, al).
-SlowOption3 opt3 : Sort option2 (by default, ae).
-FRT return_code : Force return code value on error.
-AddMail email : Email address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Locale locale : Force Locale for help display (fr,en).
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).