Difference between revisions of "Template:SQWareProduction sqwora DbmsStats.ksh help"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwora_Global.lib v3.1.01 SQWareProduction for Oracle (dbSQWare GPL v3) ...  
+
Sourcing sqwora_Global.lib v3.1.02 SQWareProduction for Oracle (dbSQWare GPL v3) ...  
  
 
Usage: sqwora_DbmsStats.ksh [-h] -I <instance> [+ options]
 
Usage: sqwora_DbmsStats.ksh [-h] -I <instance> [+ options]
Line 29: Line 29:
 
     -FRT return_code  : Force return code value on error.
 
     -FRT return_code  : Force return code value on error.
 
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser@$ORACLE_SID ).
 
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser@$ORACLE_SID ).
     -AddMail email    : Email Address to add at 'default@dbsqware.com'.
+
     -AddMail email    : Email Address to add at 'pmexpdba@gmail.com'.
 
     -SendReport        : Send execution log report.
 
     -SendReport        : Send execution log report.
     -NoMail            : Desactivate sendmail on error to default@dbsqware.com (by default, send on error).
+
     -NoMail            : Desactivate sendmail on error to pmexpdba@gmail.com (by default, send on error).
 
     -Exec              : Gather statistics (default, display generated commands).
 
     -Exec              : Gather statistics (default, display generated commands).
  
 
</pre>
 
</pre>

Revision as of 20:28, 16 June 2014

Sourcing sqwora_Global.lib v3.1.02 SQWareProduction for Oracle (dbSQWare GPL v3) ... 

Usage: sqwora_DbmsStats.ksh [-h] -I <instance> [+ options]

DESCRIPTION
   sqwora_DbmsStats.ksh gather statistics with DBMS_STATS
SUPPORT
   Oracle supported versions: 9iR2 <= v <= 11gR2

PARAMETERS
     -I  instance       : Target instance for gather statistics with DBMS_STATS.
OPTIONS
     -h  help           : Display the full usage.
     -s                 : Display samples of usage.
     -U  Users          : Schemas list (all without SYS by default),
                            to gather SYS statistics, it must be the only.
     -EU Users          : Schemas list to exclude.
     -NLS nls_numeric   : defaut('').
     -PCT estimate_pct  : defaut(10).
     -BSA block_sample  : defaut(TRUE).
     -MOP method_opt    : defaut(FOR ALL INDEXED COLUMNS SIZE REPEAT),
                            (FOR COLUMNS SIZE SKEWONLY) for SYS.
     -DEG degree        : defaut(1).
     -GRA granularity   : defaut(ALL).
     -CAS cascade       : defaut(TRUE).
     -OPT options       : defaut(GATHER AUTO),
                            (GATHER) for SYS.
     -FRT return_code   : Force return code value on error.
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser@$ORACLE_SID ).
     -AddMail email     : Email Address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -NoMail            : Desactivate sendmail on error to pmexpdba@gmail.com (by default, send on error).
     -Exec              : Gather statistics (default, display generated commands).