Template:SQWareProduction sqwdb2 ReorganizeDatabase.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwdb2_Global.lib v3.1. | Sourcing sqwdb2_Global.lib v3.1.06 SQWareProduction for Db2 (dbSQWare GPL v3) ... | ||
Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I instance -D databasename [+ options] | Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I instance -D databasename [+ options] | ||
Revision as of 12:57, 11 January 2015
Sourcing sqwdb2_Global.lib v3.1.06 SQWareProduction for Db2 (dbSQWare GPL v3) ...
Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I instance -D databasename [+ options]
DESCRIPTION
sqwdb2_ReorganizeDatabase.ksh optimize tables of database
SUPPORT
Db2 supported versions: 8.2 <= v <= 10.1
PARAMETERS
-I instance : Target instance for optimize tables.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-FRT return_code : Force return code value on error.
-AddMail email : Email Address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
-NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
-RunOpt : Option for RUNSTATS (default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
-ChkOpt : Stat option for REORGCHK (CURRENT or UPDATE) (default: 'UPDATE').
-Type : Type of table to reorg (ALL, SYSTEM, USER) (default: 'USER').
-Exec : Execute commands (default, display generated commands)