Author Topic: Upgrading to DB2 V9? Runstats Runstats Runstats  (Read 3290 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Upgrading to DB2 V9? Runstats Runstats Runstats
« on: July 19, 2010, 06:29:56 AM »
I've seen a couple cases recently where CMOD has performed much worse after no change to CMOD, but an upgrade to DB2 V9.

This is a quote:

Quote
it appears that running                                               
runstats on our index data tables solved the problem. Even though there
were no deletes and no static binds, RUNSTATS was still necessary for 
these tables to account for change in cardinality. ....               
... Presumably this                                                   
was noticed when we migrated to version 9 because the optimization     
algorithms required greater accuracy of the catalog statistics.       
                                                                       
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Upgrading to DB2 V9? Runstats Runstats Runstats
« Reply #1 on: July 20, 2010, 01:08:45 PM »
Well well well --- and I just found this today:

 
DB2 9 migration: SQL performance best practices
 

http://www-01.ibm.com/support/docview.wss?rs=64&context=SSEPEK&q1=Db2+9+migration&uid=swg27015988

Well worth the read!
#zOS #ODF