Solved

What does the elapsed time mean?

Posted on 2011-02-16
5
841 Views
Last Modified: 2012-08-13
SQL Server parse and compile time:
   CPU time = 0 ms, elapsed time = 21 ms.

What does the elapsed time mean?
0
Comment
Question by:Mr_Shaw
  • 2
  • 2
5 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 167 total points
ID: 34905808
it means that the process took 21 milliseconds to complete, with 0 (rounded) ms where on CPU.
means that almost "all the time" the process had to wait for the CPU ...
0
 
LVL 15

Assisted Solution

by:Aaron Shilo
Aaron Shilo earned 333 total points
ID: 34905823
hi

this means the time it took sql server to Parse And Compile The query
before executing it.
0
 

Author Comment

by:Mr_Shaw
ID: 34905847
when the cpu = 0  deos it mean that the query was not recompiled.

If yes.... did it take 21ms to establish no recompile is needed?
0
 
LVL 15

Assisted Solution

by:Aaron Shilo
Aaron Shilo earned 333 total points
ID: 34905987
Mr Shaw

dont forget that a soft Parse does take time eaven if the query wasent recompiled.

and yes if cpu is 0 then the query was probably not recompiled, eaven thow it is possible that the value was lower and rounded down.
0
 

Author Closing Comment

by:Mr_Shaw
ID: 34906097
thanks
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question