Join Joey D'Antoni for an in-depth discussion in this video Execution plan XMLs, part of SQL Server Performance for Developers.
- [Instructor] We've talked about how you can view…the execution plan and understand the operations…that are going on by looking at the graphical plan.…However, like we mentioned in the slide deck,…execution plans are stored as XML within the database.…SQL Server Management Studio gives us a way…to look at that XML.…So if we right click here within the execution plan…and say show execution plan XML,…I get to see this execution plan.…And this kind of looks like a bunch of gibberish…unless you know what you're looking at,…but there's a lot of important information in here…that can make it worth looking at,…particularly for plans that you're having trouble…troubleshooting the performance issues.…
I just want to highlight a couple of things,…starting on line six.…Here we see statement optimization level equals full.…And what that means is SQL Server did a full optimization,…generating several plans.…SQL Server will also do trivial optimization for plans…it doesn't feel require the full optimization,…and that's just an effort to balance the cost…
- Query execution
- How to read an execution plan
- What not to do with SQL Server
- Why cursors are bad
- Why scalar UDFs are expensive
- Datatypes and design
- What is a columnstore index?
- Transaction isolation
Skill Level Intermediate
1. Query Execution
2. What Not to Do with SQL Server
3. Datatypes and Design
4. Temporary Objects
7. Isolation Levels
Next steps2m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.