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 > SQL Performance monitoring

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-20-06, 11:15
Ravi_R Ravi_R is offline
Registered User
 
Join Date: Mar 2006
Posts: 16
SQL Performance monitoring

Hi,
I have been seeing some strange stuff in my dynamic sql snapshots.For e.g. some statements are showing total exec time (in sec) close to 750 but the user_cpu_exec_time is in millisecs. Again when this app is running the sql is showing on the statement snapshot with a stmt_start_time and nulls for stmt_end_time , however i see some other sql running for that app when i turn on event monitor.Similaryly when i take application snapshot i dont see the same sql that i see on the statement monitor.
Does the statement monitor reflect only the starting sql of a current UOW ? If there are multiple sql's in a UOW will i not be able to see the subequent ones using that ? I am using Quest and it reflects the statement monitor. The number of database requests keeps increasing for the current UOW but the sql itself does not change .
Has anyone seen a simlar situation to this ? I wld appreciate if someone can tell me why i am seeing these differences ?
Tks
Reply With Quote
  #2 (permalink)  
Old 03-21-06, 07:16
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
snap

have you updated monitor switch statement
db2 update monitor switch using statement on
... timestamp on
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #3 (permalink)  
Old 03-22-06, 16:47
Ravi_R Ravi_R is offline
Registered User
 
Join Date: Mar 2006
Posts: 16
Yes - all the monitor switches are turned on
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