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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v3.1.02 SQWareProduction for Sybase (dbSQWare GPL v3) ...  
+
Sourcing sqwsyb_Global.lib v2024.02 SQWareProduction for Sybase (dbSQWare) ...  
  
Usage: sqwsyb_UpdtStatsAllDatabases.ksh [-h] -S <dataserver> [+ options]
+
Usage: sqwsyb_UpdtStatsAllDatabases.ksh [-h] -I <dataserver> [+ options]
  
 
DESCRIPTION
 
DESCRIPTION
   sqwsyb_UpdtStatsAllDatabases.ksh update statistics all databases in //
+
   sqwsyb_UpdtStatsAllDatabases.ksh update statistics all databases in parallel
 
SUPPORT
 
SUPPORT
   Sybase supported versions: 15 <= v <= 15.5
+
   Sybase supported versions: 15 <= v <= 16.0
  
 
PARAMETERS
 
PARAMETERS
     -S dataserver    : Target dataserver to update statistics.
+
     -I dataserver    : Target dataserver to update statistics.
 
OPTIONS
 
OPTIONS
     -P Nb threads     : Number of threads in parallel (by default 2).
+
     -P   Nb threads   : Number of threads in parallel (by default 2).
     -ID  listdb      : Databases list for running analyze tables (by default all).
+
     -ID  listdb      : List of databases holding tables to update statistics (by default all).
     -ED  listdb      : Databases list to exclude.
+
     -ED  listdb      : List of databases to exclude.
     -IL  likeclause   : Like clause to generate databases list (example: 'db%').
+
     -IL  liceclause   : Like clause to generate databases list (example: 'db%').
 
     -EL  likeclause  : Like clause to exclude databases (example: 'nodb%').
 
     -EL  likeclause  : Like clause to exclude databases (example: 'nodb%').
 
     -WCD  whereclause  : Where clause to generate databases list.
 
     -WCD  whereclause  : Where clause to generate databases list.
     -FRT return_code  : Force return code value on error.
+
     -FRT       code    : Force return code value on error.
 +
    -Del              : Delete stats before compute.
 
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
 
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -SMT SizeMaxTable  : Take into account tables =< $lvsqw_SizeMaxTable Mo (by default, 50000 Mo).
+
     -AddMail  email  : Email address to add at 'pmexpdba@gmail.com'.
     -AGR Nb sec       : Nb of seconds between two run (by default 10s).
+
    -SendReport        : Send execution log report.
     -AGE Nb sec       : Nb of seconds between two check of end (by default 10s).
+
     -AGR Nb_sec       : Nb of seconds between two runs (by default 10s).
     -NoMail            : Desactivate sendmail on error default@dbsqware.com (by default, send on error).
+
     -AGE Nb_sec       : Nb of seconds between two checks of end (by default 30s).
     -h help           : Display the full usage.
+
    -Type type        : Type of statistics 'default','index','table','all' (by default index).
 +
     -NoMail            : Deactivate sendmail on error (by default, send on error).
 +
     -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>=).
 +
    -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).
 +
    -h                : Display the full usage.
 
     -s                : Display samples of usage.
 
     -s                : Display samples of usage.
     -Exec              : Execute commands (default, display generated commands)
+
    -Locale    locale  : Force Locale for help display (fr,en).
 +
     -Exec              : Execute commands (by default, display generated commands).
  
 
</pre>
 
</pre>

Revision as of 17:11, 7 April 2024

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

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

DESCRIPTION
   sqwsyb_UpdtStatsAllDatabases.ksh update statistics all databases in parallel
SUPPORT
   Sybase supported versions: 15 <= v <= 16.0

PARAMETERS
     -I  dataserver     : Target dataserver to update statistics.
OPTIONS
     -P    Nb threads   : Number of threads in parallel (by default 2).
     -ID   listdb       : List of databases holding tables to update statistics (by default all).
     -ED   listdb       : List of databases to exclude.
     -IL   liceclause   : Like clause to generate databases list (example: 'db%').
     -EL   likeclause   : Like clause to exclude databases (example: 'nodb%').
     -WCD  whereclause  : Where clause to generate databases list.
     -FRT       code    : Force return code value on error.
     -Del               : Delete stats before compute.
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -AGR Nb_sec        : Nb of seconds between two runs (by default 10s).
     -AGE Nb_sec        : Nb of seconds between two checks of end (by default 30s).
     -Type type         : Type of statistics 'default','index','table','all' (by default index).
     -NoMail            : Deactivate sendmail on error  (by default, send on error).
     -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>=).
     -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).
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Execute commands (by default, display generated commands).