If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to attack the problem of all sqls are slower after upgrade software stack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-04, 18:24
db2dev db2dev is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
How to attack the problem of all sqls are slower after upgrade software stack

We have recently upgraded software stack and all sqls are slower: total execution time as well as average sql time. Where should I start to find out where the problem lies?
Reply With Quote
  #2 (permalink)  
Old 03-04-04, 04:56
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Monitoring

Hi,

First do a runstats for all your tables. That is a must. Then go ahead and do a reorgchk for all tables and see if the tables need to be reorged.

Then go ahead and enable snapshot monitors and depending on the snapshot's determine where the system needs more resources. You can use the db2 configuration advisor as a base for the settings and then go ahead and customize them based on the snapshot reports.

Please specify your db2 version and os version with every post.

HTH

Nitin.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #3 (permalink)  
Old 03-04-04, 06:29
archm archm is offline
Registered User
 
Join Date: Mar 2004
Location: Germany
Posts: 15
Re: How to attack the problem of all sqls are slower after upgrade software stack

Quote:
Originally posted by db2dev
We have recently upgraded software stack and all sqls are slower: total execution time as well as average sql time. Where should I start to find out where the problem lies?

Runstats and than Reorg ???

Reorg/Runstats/Rebind of packages. Than it will work well again.
Reply With Quote
  #4 (permalink)  
Old 03-04-04, 09:47
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: How to attack the problem of all sqls are slower after upgrade software stack

Everytime you change the code or some hardware, make sure to rebind the packages.

dollar

Quote:
Originally posted by db2dev
We have recently upgraded software stack and all sqls are slower: total execution time as well as average sql time. Where should I start to find out where the problem lies?
Reply With Quote
  #5 (permalink)  
Old 03-04-04, 11:28
archm archm is offline
Registered User
 
Join Date: Mar 2004
Location: Germany
Posts: 15
Bind ! Rebind can be fatal.

http://www.db2mag.com/showArticle.jh...cleID=15300107 for more information!

beste regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On