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 > Reorged slowed performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-07-07, 09:04
SnowCrash7 SnowCrash7 is offline
Registered User
 
Join Date: Mar 2004
Posts: 42
Reorged slowed performance

Running DB2 8.2.6 on AIX 5.3

I recently took on an assignment supporting a DB2 database which supports a Siebel application.

Siebel version is 7.5.3 I have a reorg script that carefully follows Siebel guidance on reorgs and have had great success with it at two other locations.

Quick background; entire database had NEVER been reorged in 6 years with only one table very occasionally been reorged. Siebel guidance on reorg/runstats was ignored. Volatile tables that should not be runstatted were. Reorgchk showed hundreds of tables needing reorg.

Post reorgchk shows data is now in very good condition however there has been some slowing in OLTP performance. A db2rbind was issued as part of the reorg with 143 packages being successfully rebound. A flush package cache dynamic was also issued. This was an offline reorg with no access allowed.

I am now researching possible causes for this degradation of performance..

I am looking hard at the database server resources thinking that maybe an optimized DB2 is overloading the server (Test).

Siebel is typically optimized for OLTP rather than batch so I don't think that's the problem.

Any suggestions as to why this happened and/or what I can be looking at would be appreciated.

Thanks in advance.

Gerry
Reply With Quote
  #2 (permalink)  
Old 05-07-07, 11:24
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Have you run RUNSTATS after the reorg?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 05-07-07, 12:20
jsharon1248 jsharon1248 is offline
Registered User
 
Join Date: Apr 2007
Location: Chicago
Posts: 57
Do you know if anybody manually updated stats previously? I've worked at clients running Siebel apps that manually updated stats to resolve specific performance issues. You would have wiped out the manually updated stats when you ran Runstats following the Reorgs. If this is the case, you'd need to reapply the manual updates.
Reply With Quote
  #4 (permalink)  
Old 05-07-07, 13:02
SnowCrash7 SnowCrash7 is offline
Registered User
 
Join Date: Mar 2004
Posts: 42
re Runstats

Yes I ran a runstats table with distribution and detailed indexes all.

Yes I'm aware of the manually updated stats at certain shops. I seriously doubt that was done here. I mean not much of any type of maintenance was being done at all.

Now I have to prove a negative....that the reorg did NOT cause the slowdown
Reply With Quote
  #5 (permalink)  
Old 05-07-07, 13:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you want DB2 to ignoare the actual runstats and use default stats (as if runstats was never run), then alter the table and set it to volatile. See the ALTER TABLE SQL statement.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #6 (permalink)  
Old 05-09-07, 10:21
SnowCrash7 SnowCrash7 is offline
Registered User
 
Join Date: Mar 2004
Posts: 42
Problem 'solved'

After meeting with a very experience professional, it seems evident that the reorg optimized the data in db2 which is now flying faster than the system can handle. Their are bottle necks showing up in both I/O and disk usage.
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