Hi Trace,
have a look at our Maintain for DB2. The Reorg utility does all
the
wonderful things you wanted to check before actually doing the
reorg.
The REORG generation feature of Maintain has support for the
current DB2
versions, e.g., online REORG, inline COPY, and inline RUNSTATS.
The
thresholds available for REORG definitions allow reorgani-zations
to be
controlled based on the following:
- Minimum object size.
- Reorganization level; table space level, partition level, or
a
combination, depending on the object size.
- Catalog statistics; PERCDROP, NEARINDREF, FARINDREF, LEAFDIST,
FAROFFPOS,
and CLUSTER-RATIO, PERCACTIVE, ORGRATIO.
- Data set extents.
Utility JCL generation for the REORG is determined by Maintain when
the
above thresholds are reached. Within this JCL, you can control
whether the
REORG LOG parameter is on or off depending on table space size.
Definitions of REORG dependent actions are easy. Just indicate
whether or
not the JCL for QUIESCE, COPY, RUNSTATS and REBIND utilities should
be
generated.
Runstats generation is handled quite intelligent, too, you can have
a look
at
http://www.seg.de, description available
on English as well.
For further information you can contact in the States SEGUS
Inc.
(
http://www.segus.com)by
mailto:[login to unmask email]
HTH, Dirk
Dirk Johann
Software Engineering Germany
http://www.seg.de
Trace Jones
<[login to unmask email] An: [login to unmask email]
NERGY.COM> Kopie:
Gesendet von: DB2 Data Thema: Online Reorgs
Base Discussion List
<[login to unmask email]>
09.01.02 19:16
Bitte antworten an DB2
Data Base Discussion
List
Does anybody have any jcl/programs that are using DB2 utilities for
Online
Reorg (preferably that decides yes or no to do a reorg and possibly
by
program checks primary and secondary and sets the new quantities
as
necessary before the reorg).
Trace R. Jones