Solved

Actual vs. Estimated Execution Plans

Posted on 2014-12-04
2
79 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
2 Comments
 
LVL 142

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 46

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now