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 > Reorg table/index worst performance ever

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 01-31-12, 04:35
Revu Revu is offline
Registered User
 
Join Date: Jan 2012
Posts: 18
hi

Thanks for your links.

i've already read all these documents and tried some changes like increasing num_io_servers, prefetching, sortheaps, sheaptress, logfilesize, util_heap_sz etc.. without any improvement.

That's why im looking for some Storm-brainning about what could be happening on my database, i cant do any specifical question because i do not know what to ask. All the database behaviour its a little bit uncommon, it should be working much faster but it doesnt.

i cannot see any bottleneck on our hardware or software so i suposse that the problem could be inside the db.

I really apreciate your help.

Revu.
Reply With Quote
  #17 (permalink)  
Old 01-31-12, 05:22
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Why the "longlobdata"? You're pulling the handbrake with that option.
The only reason I can think of when you start to inline LOB's or you try to lower the HWM.
In that case: don't be too harsh to db2 because it has to do a lot of work for you and it is a one-off execution.
Reply With Quote
  #18 (permalink)  
Old 01-31-12, 06:25
Revu Revu is offline
Registered User
 
Join Date: Jan 2012
Posts: 18
Hi dr_te_z,

Yes, we want to low the HWM but we are having the same issues with another not longlob tables.

Thx.
Reply With Quote
  #19 (permalink)  
Old 01-31-12, 08:42
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Revu View Post
tried some changes like increasing num_io_servers, prefetching, sortheaps, sheaptress, logfilesize, util_heap_sz etc.. without any improvement.
This is somewhat akin to a doctor cutting off random parts of his patient's body hoping to stop the headache.

You'll need to determine _what_ the bottleneck is, _then_ take the appropriate action. Look at the database snapshots, db2top, operating system stats (e.g. nmon) to see what is the possible cause of the issue. Ask your storage administrators to monitor I/O performance from their perspective.
Reply With Quote
  #20 (permalink)  
Old 01-31-12, 09:13
Revu Revu is offline
Registered User
 
Join Date: Jan 2012
Posts: 18
We are gonna review all the nmon statistics.

I'll keep you posted.

Thx a lot.
Reply With Quote
  #21 (permalink)  
Old 01-31-12, 10:13
Revu Revu is offline
Registered User
 
Join Date: Jan 2012
Posts: 18
Do you think that there would be a bottleneck because we were not using a temporary tablespace?

If im not wrong... while reorging without using the tempspace the database could be writting and reading a lot on the same containers of the tablespace, so.. it could be producing i/o wait?


Thx.
Reply With Quote
  #22 (permalink)  
Old 01-31-12, 10:54
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Revu View Post
Do you think that there would be a bottleneck
I respectfully decline the invitation to make wild guesses. nmon and db2top should give you enough information.
Reply With Quote
  #23 (permalink)  
Old 01-31-12, 17:31
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by n_i View Post
db2top should give you enough information.
I didn't find the information provided by db2top very useful or maybe I just don't know how to use it properly.
Reply With Quote
  #24 (permalink)  
Old 01-31-12, 17:39
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by n_i View Post
doctor cutting off random parts of his patient's body hoping to stop the headache.
It can help... depending on which body part gets cut off.
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