IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

About SQL Service Time


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
wicherc

New User


Joined: 16 Nov 2011
Posts: 2
Location: Argentina

PostPosted: Sat Apr 28, 2012 12:03 am
Reply with quote

I´m new at this skill for DB2 and working with Freeze Frame tools. Excusme if this question is for a child. icon_redface.gif
At a new report from a COBOL/DB2 program we found large time in a SQL statement (SELECT) This tool reports the following data:
Mean CPU Time: 0.00369sg
Mean Svc Time: 0.17625sg
I supose here there is a problem with this sentence, but i can´t understand what is the diference betwen CPU Time and Service Time.
Can anybody help me?
Thanks.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Sat Apr 28, 2012 2:21 am
Reply with quote

You need to look at the documentation for "Freeze Frame".

This is only a guess...
1. service time sounds like elapsed time, from start to finish of the query. Perhaps, as if you had a stop watch and could measure so tiny an interval. On a large system, DB2 might be doing work for thousands of people at roughly the same time. The more work there is, the longer the elapsed time takes.

2. CPU time is the amount of time to execute the program. Assuming no changes to the data, the CPU time should remain fairly constant. It is a measurement of the CPU time needed to run your query, not including waiting for other tasks that are competing for computer resources.
Back to top
View user's profile Send private message
wicherc

New User


Joined: 16 Nov 2011
Posts: 2
Location: Argentina

PostPosted: Wed May 02, 2012 8:02 pm
Reply with quote

Pedro: Thanks for your response. I was looking for in all the Freeze Frame docs but nothing appears qith this concept.
I supose that Service Time is more close to the DB2 engine and of course, to the cpu work load. May be the ET taken by DB2.
Thanks again
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top