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 > Direct reads elapsed time (ms) is it millisecond or microsecond?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-08, 04:14
azs0309 azs0309 is offline
Registered User
 
Join Date: Jan 2008
Posts: 88
Direct reads elapsed time (ms) is it millisecond or microsecond?

I have got confused, ms generally means millisecond but in the snapshots I have seen it being used as microsecond. Am I correct or is it millisecond only?
Reply With Quote
  #2 (permalink)  
Old 03-03-08, 07:18
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
How about a bit of RTFM? The second hit when searching for "direct reads elapsed time" is this one:
http://publib.boulder.ibm.com/infoce.../r0001264.html
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 03-03-08, 07:51
azs0309 azs0309 is offline
Registered User
 
Join Date: Jan 2008
Posts: 88
Hi stolze,
my question was not particular to direct reads elapsed time. sometimes I have seen that while using table functions for snapshot there are elements which are broken into two , one for seconds and another for microsecond.for eg : ELAPSED_EXEC_TIME_S
ELAPSED_EXEC_TIME_MS where MS is microsecond. So I got confused as at one place its saying its millisecond and at another its microsecond.
Reply With Quote
  #4 (permalink)  
Old 03-04-08, 00:44
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
When you do a snapshot for dynamic SQL, you get the elapsed time in the following format:

nn.nnnnnn seconds

So I assume that for the snapshot table function, you should divide ELAPSED_EXEC_TIME_MS by 1000000 to get the right answer.
__________________
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
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