Template:SQWareProduction sqwdb2 ReorganizeDatabase.ksh help: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwdb2_Global.lib v2025. | Sourcing sqwdb2_Global.lib v2025.10 SQWareProduction for Db2 (dbSQWare) ... | ||
Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I databasename [+ options] | Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I databasename [+ options] | ||
Latest revision as of 16:20, 10 October 2025
Sourcing sqwdb2_Global.lib v2025.10 SQWareProduction for Db2 (dbSQWare) ...
Usage: sqwdb2_ReorganizeDatabase.ksh [-h] -I databasename [+ options]
DESCRIPTION
sqwdb2_ReorganizeDatabase.ksh optimize tables
SUPPORT
Db2 supported versions: 8.2 <= v <= 11.5
PARAMETERS
-I instance : Target instance for optimize tables.
OPTIONS
-h : Display the full usage.
-s : Display samples of usage.
-FRT code : Force return code value on error.
-AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'.
-SendReport : Send execution log report.
-Dist : For distant connection to instance (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
-NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error).
-RunOpt : Option for RUNSTATS (by default: 'WITH DISTRIBUTION AND DETAILED INDEXES ALL').
-ChkOpt : Stat option for REORGCHK (CURRENT or UPDATE) (by default: 'UPDATE').
-Locale locale : Force Locale for help display (fr,en).
-Type : Type of table to reorg (ALL, SYSTEM, USER) (by default: 'USER').
-Exec : Execute commands (by default, display generated commands).