Solved

Actual vs. Estimated Execution Plans

Posted on 2014-12-04
2
83 Views
Last Modified: 2014-12-24
Hi Experts
in which case I use:
Actual Execution Plans
or
Estimated Execution Plans

Why Not always possible to get an Estimated plan
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 40480358
the difference is that the estimated execution plan is without considering the current server load, as that might influence the execution plan when the sql is actually run.
I have not seen the situation where I could not get the estimated plan except for statements where this is not possible in either case (DDL statements)... do you have some example to reproduce?
0
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 40480418
I only use Estimated Execution Plan when I know that the query will take long to run so I won't need to wait several minutes for having the Execution Plan. Otherwise Actual Execution Plan should be used by the reasons mentioned by Guy Hengel.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.

734 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