Home All Groups Group Topic Archive Search About

diff between CPU time and elapsed time?

Author
29 Dec 2005 9:16 AM
j.santosh.shenoy
Hi,

What is the difference between the CPU time and the Elapsed time as
seen in the TKPROF results?

Thanks,
Santosh

Author
29 Dec 2005 9:37 AM
Tibor Karaszi
I don't know what TKPROF is, but:

CPU time is the time that the CPU was doing job for you. Elapse time is the amount of time from
start of processing to end of processing. During this period, the CPU could have done things for
somebody else.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/


<j.santosh.she***@gmail.com> wrote in message
Show quote
news:1135847807.311256.275360@g44g2000cwa.googlegroups.com...
> Hi,
>
> What is the difference between the CPU time and the Elapsed time as
> seen in the TKPROF results?
>
> Thanks,
> Santosh
>
Author
29 Dec 2005 1:19 PM
Aaron Bertrand [SQL Server MVP]
> What is the difference between the CPU time and the Elapsed time

CPU time is how much time the CPU spent actually doing work.  Elapsed time
is total time... not all of your time was necessarily spent doing CPU work,
it could have been waiting on other tasks, it could have spent time in I/O
(reading/writing to disk) or bandwidth...

> as seen in the TKPROF results?

What on earth is TKPROF?  (I don't really need to know the answer, that was
bordering on rhetorical...)
Author
29 Dec 2005 5:01 PM
John Bell
Hi Santosh

Although the explainations posted by others are probably still valid, you
may want to post this to an Oracle newsgroup!

John

<j.santosh.she***@gmail.com> wrote in message
Show quote
news:1135847807.311256.275360@g44g2000cwa.googlegroups.com...
> Hi,
>
> What is the difference between the CPU time and the Elapsed time as
> seen in the TKPROF results?
>
> Thanks,
> Santosh
>

AddThis Social Bookmark Button