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 > Performance Tuning Question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-18-06, 20:46
ksolomon ksolomon is offline
Registered User
 
Join Date: Jun 2004
Posts: 38
Performance Tuning Question

Hello, I would like to know how to find the average number of read I/O's for each table per transaction.

Basically I know how to take snapshots/event monitors but I dont know how use/interpret the information to tune the database/SQL. Is there is any book which explains this phenomenon or does it come only by experience ?


Thanks,
solomon
Reply With Quote
  #2 (permalink)  
Old 04-19-06, 03:15
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Have you read the Admin Guide for Performance ?

Also, google for Scott Hayes, Phil Gunning, Martin Hubel ... You will find a number of useful articules that will give a good starting point ...

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 04-19-06, 10:40
ksolomon ksolomon is offline
Registered User
 
Join Date: Jun 2004
Posts: 38
ok, Thanks for the info. I will look into those.
Reply With Quote
  #4 (permalink)  
Old 04-19-06, 11:31
cbreiner cbreiner is offline
Registered User
 
Join Date: Jan 2004
Posts: 12
You can also create a view using the user defined functions provided by IBM. This will allow you to take a snapshot of tables and order by rows_read in descending order. From there, once you see which table is most hit, you can get a snapshot of of the dynamic sql(if using dynamic) and only select the queries against the most active table. This will tell you if you how much is being read from memory and how much is being read from disk(i/o's). I always try and have as few physical reads as possible.
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