Template:SQWareProduction sqwsyb StatisticsAllDatabases.ksh help

From Wiki_dbSQWare
Revision as of 17:51, 21 July 2024 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwsyb_Global.lib v2024.05 SQWareProduction for Sybase (dbSQWare) ... 

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

DESCRIPTION
   sqwsyb_StatisticsAllDatabases.ksh update statistics all databases in parallel
SUPPORT
   Sybase supported versions: 12.0 <= 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   likeclause   : 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.
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -SizeMaxTable Size : Take into account tables <= $lvsqw_SizeMaxTable Mb (by default, 50000 Mb).
     -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).
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -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).