SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Confio Ignite

Generating a Graphical Query Plan

This video explains why and how to generate a query plan. This is useful when tuning a query.

Duration:
2 mins 30 secs
Skill Level:
100
Rating:
4.15 out of 5
Publish Date:
September 09, 2008
Generating a Graphical Query Plan You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Grant Fritchey
I'm currently working for FM Global, an industry leading engineering & insurance company, as a DBA. I've done development of large scale applications in languages such as VB, C# and Java. I've worked in SQL Server from the hoary days of 6.0. My nickname at work is the "The Scary DBA." I even have an official name plate with it. I wear it proudly. I was awarded a Microsoft MVP in April of '09.

References

There are no downloads or recommended reading links for this video

Comments
Venkata Taduri on 2/24/2009
Phenomenal video. Thank you.

Carrie on 9/8/2009
This was concise information regarding a feature of SQL Server that I have not previously used. Now that I know about this feature, and how easy it is to use it, I will be able to use.

Ralph Schwehr on 9/8/2009
should have included what to look for in an execution plan to do the actual fine tuning

Yulia Klimov on 9/8/2009
basic

Leonard Peoples on 9/8/2009
Q)Why are execution plans read from right to left instead of left to right?

Lou Gallo on 9/8/2009
But how do I use it?

Jack on 9/8/2009
What about turning on the actual execution plan permanently (rather than remembering each time)?

kin on 9/8/2009
keep it coming.

luther smith on 9/8/2009
Straightforward, and important info.

Lynn Rosini on 9/8/2009
Why do you always read an execution plan from top to bottom and from right to left? It would have been good information for someone just learning about execution plans to know why it's read this way.

8D966DFE30 on 9/9/2009
Good

Grant Fritchey on 9/9/2009
I don't have a clue why MS set it up to read right to left. It just is. I'm sure they had a reason, but I don't recall ever seeing it in any documentation. Looking at it, it kind of makes sense when you think that the the thing immediately in front of you, the SELECT operator or whatever, is the culmination, the result, of all the other work and you then just have to track out on the tree to see what was done... But I could be wrong on that one.

Pankaj on 9/9/2009
I love this short video, they are execellent for newbiew like me.

Palani on 9/14/2009
Palani Ramu on 09/13/2009 It's very useful for beginers and its explanation also good.

John Ghali on 5/12/2010
I learned one thing, browsing the execution plan... What would be good is to understand an execution plan.

Austin on 5/12/2010
essential knowledge for SQL developers

William J. Bergen on 5/12/2010
nice job

Marie F Wilkinson on 5/12/2010
Although I have looked at execution plans before, I didn't know that they should be read from right to left or how you could move around in the plan. Thanks very helpful

Stephanie Brown on 5/12/2010
Such a "simple" thing, but as an "occasional developer" I've never delved into query plans, although I often see them mentioned on the boards. Now I'll have to go try it! This really demonstrates the value of these short videos; I truly appreciate the folks who put these together.

jay on 5/12/2010
http://tinyurl.com/Grant-Fitchey-book

David Hunter on 5/12/2010
Good introduction \ overview to the Graphical Query Plan tool.

Tilahun on 5/12/2010
Cool!!!!!!!!!!!!!

Peter on 5/12/2010
didn't tell me much

rajiv on 5/12/2010
this is very useful in optimizing the queries

John Bell on 5/12/2010
Good but it should be pointed out that execution plans are best used when comparing queries against each other. A plan by itself provides little information, you have to compare it to something. Hashs and scans may be the only way information can be retrieved, but comparing two or more query plans can provide insight as to which design is better over all.

Haroon on 5/13/2010
excellent video

Henrique on 5/13/2010
good

E72B0A9423 on 5/13/2010
Nice tips on scanning an execution plan. Important topic.

Theun Genis on 5/14/2010
clear

desmond on 5/15/2010
brilliant, all covered in a couple of minute!

amar on 5/17/2010
Good

Grant Fritchey on 5/17/2010
Glad so many people found it helpful the second time through. These short videos were an experiment that didn't entirely work well. But this seems to be one exception.

Talha on 5/17/2010
like the way you explained the basics i.e. simple and to the point

3BD4EE8C05 on 5/18/2010
Thank you.

Ravi Raj on 6/26/2010
good one

Martin Griffiths on 8/24/2010
Have never used a graphical execution plan but I can see how they will be useful. Not sure why there would be a difference between an estimated and an actual execution plan though unless it's down to the figures and cost involved.

Grant Fritchey on 8/25/2010
The main key difference between estimated & actual is the inclusion of real stats on the actual plan. The estimated plan is just a guess, the actual has real numbers. Plus, plans can recompile during execution and when that happens, they can, and do, change. So getting the actual plan shows you, as close as you can get, what really happened when the query executed.

vin lawrence on 1/20/2012
does what it says on the tin

Jeff Lovett on 1/20/2012
Good, but short - actual vs estimated execution plan - would like to see more detail on the difference, and how to fix or optimize if estimated does not = actual?

Dan on 1/20/2012
Good intro - need to segue to another for completeness.

Marie F Wilkinson on 1/20/2012
So much I didn't know and I have often looked at estimated query plans. Thanks!

Tom Stafford on 1/20/2012
Video did not explain why you read from right to left and what that means.

4A5ADA4D6E on 1/20/2012
Thank you

John Miceli on 1/20/2012
Would like to see more detail about this topic. What each of the objects mean and how they pertain to optimizing a query. That would be wonderbar!

Scott Schommer on 1/20/2012
Very concise!

Mark on 1/20/2012
Great for a JR DBA. I think it would have been beneficial to quickly discuss the advantages and disadvantages between actual and estimated execution plans.

Kasey Wheeler on 1/20/2012
Good video.

Jim Orten on 1/20/2012
Basic intro to looking at the execution plan

1AFA31864B on 1/20/2012
ok that's great we now know how to look at this, but how to we USE this information?

zishan qureshi on 1/20/2012
Quite well presented but no explanation of how to optimise the query after looking at the execution plan and what the various information about each icon or arrow means.

Michael Sidley on 1/20/2012
Excellent, lots of info in very little time. How about something on how to spot (with execution plan) and fix some of the most common simple mistakes us rookies make.

nikhil on 1/21/2012
very good and informative.

Leon on 1/21/2012
Very clear and informative

Cheryl on 1/23/2012
ALWAYS looking for quick and easy to follow info on execution plans!

Leonard Peoples on 1/23/2012
This will help me. Thanks for sharing.

Yuri on 1/23/2012
Not very infotmative

josh on 1/23/2012
didn't really say "why", which I thought was "advertised"

Dan Gotter on 1/24/2012
I don't have access to do this on the server I use.

John O'Sullivan on 1/26/2012
excellent reminder

Carlos B. Vasquez on 1/29/2012
Well-explained, good job

Rene on 1/30/2012
too simply



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions