Difference between revisions of "Template:SQWareProduction sqwsyb UpdtStatsDatabase.ksh help"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v3.1.14 SQWareProduction for Sybase (dbSQWare GPL v3) ...  
+
Sourcing sqwsyb_Global.lib v3.1-beta.05 SQWareProduction for Sybase (dbSQWare GPL v3) ...  
  
Usage: sqwsyb_UpdtStatsDatabase.ksh [-h] -S <dataserver> [+ options]
+
Usage: sqwsyb_UpdtStatsDatabase.ksh [-h] -S|-I <dataserver> [+ options]
  
 
DESCRIPTION
 
DESCRIPTION
Line 10: Line 10:
  
 
PARAMETERS
 
PARAMETERS
     -S  dataserver     : Target dataserver.
+
     -S|-I dataserver : Target dataserver.
 
     -D  database      : Database name.
 
     -D  database      : Database name.
 
OPTIONS
 
OPTIONS
Line 21: Line 21:
 
     -WCT  whereclause  : Where clause to generate tables list.
 
     -WCT  whereclause  : Where clause to generate tables list.
 
     -FSS  SampleSize  : To force sample size.
 
     -FSS  SampleSize  : To force sample size.
     -Del              : Delete stats before compute.
+
     -Del              : Delete Statisticss before compute.
 
     -NoMail            : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
 
     -NoMail            : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
    -SMT SizeMaxTable  : Take into account tables =< $lvsqw_SizeMaxTable Mo (by default, 50000 Mo).
 
 
     -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 ).
 
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -Exec              : Run update stat (default, display generated commands).
+
    -Type type        : Type of statistics 'default','index','table','all' (default index).
 +
    -AddMail email    : Email Address to add at 'default@dbsqware.com'.
 +
    -SendReport        : Send execution log report.
 +
    -SizeMaxTable Size : Take into account tables =< $lvsqw_SizeMaxTable Mb (by default, 1000000 Mb).
 +
    -MinPctChange pct  : Min pct change to take table into acgount (by default, datachange>=10).
 +
     -Exec              : Run update Statistics (default, display generated commands).
  
 
</pre>
 
</pre>

Revision as of 17:45, 5 April 2014

Sourcing sqwsyb_Global.lib v3.1-beta.05 SQWareProduction for Sybase (dbSQWare GPL v3) ... 

Usage: sqwsyb_UpdtStatsDatabase.ksh [-h] -S|-I <dataserver> [+ options]

DESCRIPTION
   sqwsyb_UpdtStatsDatabase.ksh 'update index statistics table' for all tables
SUPPORT
   Sybase supported versions: 15 <= v <= 15.7

PARAMETERS
     -S|-I  dataserver  : Target dataserver.
     -D  database       : Database name.
OPTIONS
     -h  help           : Display the full usage.
     -s                 : Display samples of usage.
     -IT   listtables   : Tables list for running analyze tables (by default all).
     -ET   listtables   : Tables list to exclude.
     -IL   likeclause   : Like clause to generate tables list (example: 'tbl%').
     -EL   likeclause   : Like clause to exclude tables (example: 'notbl%').
     -WCT  whereclause  : Where clause to generate tables list.
     -FSS  SampleSize   : To force sample size.
     -Del               : Delete Statisticss before compute.
     -NoMail            : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
     -FRT  return_code  : Force return code value on error.
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -Type type         : Type of statistics 'default','index','table','all' (default index).
     -AddMail email     : Email Address to add at 'default@dbsqware.com'.
     -SendReport        : Send execution log report.
     -SizeMaxTable Size : Take into account tables =< $lvsqw_SizeMaxTable Mb (by default, 1000000 Mb).
     -MinPctChange pct  : Min pct change to take table into acgount (by default, datachange>=10).
     -Exec              : Run update Statistics (default, display generated commands).