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)
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v4.0.02 SQWareProduction for Sybase (dbSQWare) ...  
+
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ...  
  
Usage: sqwsyb_UpdtStatsDatabase.ksh [-h] -S|-I <dataserver> [+ options]
+
Usage: sqwsyb_UpdtStatsDatabase.ksh [-h] -I <dataserver> [+ options]
  
 
DESCRIPTION
 
DESCRIPTION
Line 10: Line 10:
  
 
PARAMETERS
 
PARAMETERS
     -S|-I  dataserver : Target dataserver.
+
     -I  dataserver     : Target dataserver.
 
     -D  database      : Database name.
 
     -D  database      : Database name.
 
OPTIONS
 
OPTIONS
     -h help          : Display the full usage.
+
     -h                 : Display the full usage.
 
     -s                : Display samples of usage.
 
     -s                : Display samples of usage.
     -IT  listtables  : Tables list for running analyze tables (by default all).
+
     -IT  listtables  : List of tables to run update statistics on (by default all).
 
     -ET  listtables  : Tables list to exclude.
 
     -ET  listtables  : Tables list to exclude.
 
     -IL  likeclause  : Like clause to generate tables list (example: 'tbl%').
 
     -IL  likeclause  : Like clause to generate tables list (example: 'tbl%').
Line 22: Line 22:
 
     -FSS  SampleSize  : To force sample size.
 
     -FSS  SampleSize  : To force sample size.
 
     -Del              : Delete stats before compute.
 
     -Del              : Delete stats before compute.
     -NoMail            : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
+
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -FRT return_code  : Force return code value on error.
+
     -FRT       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 ).
     -Type type        : Type of statistics 'default','index','table','all' (default index).
+
     -Type type        : Type of statistics 'default','index','table','all' (by default index).
     -AddMail email     : Email Address to add at 'pmexpdba@gmail.com'.
+
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
 
     -SendReport        : Send execution log report.
 
     -SendReport        : Send execution log report.
     -SizeMaxTable Size : Take into account tables =< $lvsqw_SizeMaxTable Mb (by default, 1000000 Mb).
+
     -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).
+
     -MinPctChange pct  : Min pct change to take table into account (by default, datachange>=10).
 
     -Hashing          : Enable hashing (when rowcount >= 1000000) when ASE version >= 15.7 ESD#2 or SP50 (by default, False).
 
     -Hashing          : Enable hashing (when rowcount >= 1000000) when ASE version >= 15.7 ESD#2 or SP50 (by default, False).
 
     -NoHashing        : Disable hashing.
 
     -NoHashing        : Disable hashing.
 
     -HashSize  Size    : Minimum rowcount for hashing (by default, 1000000).
 
     -HashSize  Size    : Minimum rowcount for hashing (by default, 1000000).
     -Exec              : Run update statistics (default, display generated commands).
+
    -Locale    locale  : Force Locale for help display (fr,en).
 +
     -Exec              : Run update statistics (by default, display generated commands).
  
 
</pre>
 
</pre>

Latest revision as of 15:56, 31 October 2024

Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... 

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

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

PARAMETERS
     -I  dataserver     : Target dataserver.
     -D  database       : Database name.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -IT   listtables   : List of tables to run update statistics on (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 stats before compute.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -FRT       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' (by default index).
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.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 account (by default, datachange>=10).
     -Hashing           : Enable hashing (when rowcount >= 1000000) when ASE version >= 15.7 ESD#2 or SP50 (by default, False).
     -NoHashing         : Disable hashing.
     -HashSize  Size    : Minimum rowcount for hashing (by default, 1000000).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Run update statistics (by default, display generated commands).