Template:SQWareProduction sqwdb2 RunStatsAllDatabases.ksh help
Jump to navigation
Jump to search
Sourcing sqwdb2_Global.lib v3.1.14 SQWareProduction for Db2 (dbSQWare GPL v3) ... Usage: sqwdb2_RunStatsAllDatabases.ksh [-h] -I instance [+ options] DESCRIPTION sqwdb2_RunStatsAllDatabases.ksh RUNSTATS tables of databases in // SUPPORT Db2 supported versions: 8.2 <= v <= 10.1 PARAMETERS -I instance : Target instance for RUNSTATS. OPTIONS -h help : Display the full usage. -s : Display samples of usage. -P Nb threads : Number of threads in parallel (by default 2). -ID listdb : Databases list for running RUNSTATS tables (by default all). -ED listdb : Databases list to exclude. -Opt option : Option for RUNSTATS (default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL'). -AGR Nb sec : Nb of seconds between two run (by default 1s). -AGE Nb sec : Nb of seconds between two check of end (by default 1s). -FRT return_code : Force return code value on error. -NoMail : Desactivate sendmail on error default@dbsqware.com (by default, send on error). -Exec : Execute commands (default, display generated commands)