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 > DB2 resource consumption on AIX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-09-10, 20:52
getback0 getback0 is offline
Registered User
 
Join Date: Oct 2010
Posts: 73
DB2 resource consumption on AIX

Hello,

This might be more of an AIX question - nevertheless, since DBAs end up getting work in closer proximity with System administrators, I didnt think it would hurt to check.

I wanted to see what our database server's resource utilization looks like when an intensive ETL batch is under progress. I threw scripts to run mpstat, vmstat and iostat at the time the ETL application issued queries to the database. Although, i do see the CPU and memory responding (showing activity), when the query throughput is really low on the ETL box, I dont see a lot of IO activity on the DB reported by iostat.

I can hear you go - maybe its not the DB, maybe its the App - agreed - although, when one of the queries took about an hour to return the first row to the app as it was performing a join between 2 massive tables that were not collocated, I would have expected some cross partition scans. I didnt see any spikes in iostat figures.

Quick background - our db partitions are LPARs on the same rack - I am running my scripts on the admin node - Am i wrong in thinking that it should still report figures for all nodes?

Thanks for the help!

G
Reply With Quote
  #2 (permalink)  
Old 11-10-10, 10:14
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
You might want to use db2top program to monitor DB2 system activites in all partitions.

iostat can be misleading in DB2 because all queries are processed in memory and data may be cached in bufferpools. With a data warehouse, prefetches are used to try and get data and index pages into bufferpools before it is actually requested.
__________________
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
  #3 (permalink)  
Old 11-12-10, 01:40
getback0 getback0 is offline
Registered User
 
Join Date: Oct 2010
Posts: 73
Thanks as always Marcus!

G
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