If you made no precautions before performing the upgrade you will probably have little chance of checking the old settings..
Reorg will rebuild a table so accessing data will require minimum amount of I/O. Runstats will enable the optimizer to choose the most efficient query path.
Personallly , I do not expect that upgrading would have effect on these matters, but I cannot back that up with proof ..
Some other elements to consider:
1. DFT_QUERY_OPT
This is a setting ranging from 1 to 9. Default is 5. The higher the value the longer DB2 takes to calculate a efficient path. For complex SQL this can be beneficial. Perhaps upgrading has reset this value back to a default.
2. HASH Joins
This setting has to be enabled by the DBA to be available. If your queries use joins over non-indexed fields, then a HASH join could very well speed up things by 3-fold.
Since enabling hash joins is pretty 'vague' upgrading may have reset this option.
Reset it with:
from db2 clp
If hash joins are enabled you should check the SORTHEAP size. This is set at 256x4Kb by default, but it may have been enlarged during working with version 7.
I think you should try to find out whether your version 7 may have tuned in the past and rectify accordingly...
Ties Blom
Information analyst