Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Methods to determining when to

Reorganize a DB2 Tablespace


12.10.02 JOB06424 -JOBNAME STEPNAME PROCSTEP RC EXCP CPU SRB CLOCK
12.10.02 JOB06424 -DDS1055A REORGCHK 02 558 .00 .00 .00
12.10.02 JOB06424 -DDS1055A ENDED. NAME- TOTAL CPU TIME=
12.10.02 JOB06424 $HASP395 DDS1055A ENDED
CREATOR.IXNAME: GOSALES1.PRODUCT_PK
CREATOR.TBNAME: GOSALES1.PRODUCT
PART CARDF FAROFFPOSF NEAROFFPOSF
* 0 2.74E+02 5.0E+00 3.7E+01
CREATOR.IXNAME: GOSALES1.ORDER_METHOD_CODE_PK
CREATOR.TBNAME: GOSALES1.ORDER_METHOD
PART CARDF FAROFFPOSF NEAROFFPOSF
0 7.0E+00 0.0E+00 0.0E+00
CREATOR.IXNAME: GOSALES1.I_DOCIDPTNR_CNTCT
CREATOR.TBNAME: GOSALES1.PTNR_CNTCT
PART CARDF FAROFFPOSF NEAROFFPOSF
0 0.0E+00 0.0E+00 0.0E+00
CREATOR.IXNAME: GOSALES1.I_DOCIDPTNR_ACTY
CREATOR.TBNAME: GOSALES1.PTNR_ACTY
PART CARDF FAROFFPOSF NEAROFFPOSF
0 0.0E+00 0.0E+00 0.0E+00
CREATOR.IXNAME: GOSALES1.CUST_ORD_DETL_PK
A good maintenance policy (Recap)
RUNSTATS / REBIND / REORGs as required
Watch for growth
Watch Extents - Use as an indicator of update activity
Watch SMF Type 42 records - Shows usage activity
Be prepared to partition large DB2 tables
Parallelism enablement
#5
Incorrect WLM Policy
Usually a distant #5 from the rest of the pack
Note the following:
* Workload DDF - DB2 DDF WORKLOAD
1 service class is defined in this workload.
* Service Class DDF - DDF LUNAME AVG R010 IMP3
Base goal:
CPU Critical flag: NO
# Duration Imp Goal description
- --------- - --------------------------
1 3 Execution velocity of 70

You might also like