Template:SQWareProduction sqwmys RotateLogSlowQuery.ksh help: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
Exploit (talk | contribs)
m Updated by Expdbtools
 
No edit summary
 
(72 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
<pre>
Sourcing sqwmys_Global.lib v1.2.09 SQWareProduction for MySql (expdbTools GPL v3) ...  
Sourcing sqwmys_Global.lib v2025.06 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 <= 5.1
   MySql   supported versions: 5.0 <= v <= 9.2
  MariaDB supported versions: 5.5 <= v <= 11.8


PARAMETERS
PARAMETERS
     -I  instance      : Target instance for rotation.
     -I  instance      : Target instance to rotation.
OPTIONS
OPTIONS
     -h help          : Display the full usage.
     -h                 : Display the full usage.
     -s                : Display samples of 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.
     -FRT return_code  : Force return code value on error.
     -Local            : Don't copy slow_query_log_file on .
     -AddMail  email  : Email address to add at 'demo-sqwarebox@dbsqware.com'.
     -NoMail            : Desactivate sendmail on error dba (by default, send on error).
    -SendReport        : Send execution log report.
    -Locale    locale  : Force Locale for help display (fr,en).
     -NoMail            : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error).


</pre>
</pre>

Latest revision as of 18:53, 1 July 2025

Sourcing sqwmys_Global.lib v2025.06 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 <= 9.2
   MariaDB supported versions: 5.5 <= v <= 11.8

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 'demo-sqwarebox@dbsqware.com'.
     -SendReport        : Send execution log report.
     -Locale    locale  : Force Locale for help display (fr,en).
     -NoMail            : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error).