Comments (11)
This was planned for the initial release, but didn't fit in the schedule. We should be able to include this in the Dec. release.
from azuredatastudio.
I'm going to close this issue out now. There is a built-in command Run Current Query with Actual Plan
that will should the actual plan details. This command can be mapped to a keyboard shortcut if desired.
Also, we now have the SentryOne Plan Explorer extension in the marketplace that provides the ability to inspect actual execution plans. This extension is the recommended solution for this scenario. Please open issues if problems are encounter with these solutions. Thanks!
from azuredatastudio.
There's not more to say, we need this
from azuredatastudio.
Thanks for your feedback. This is definitely on our roadmap, and hearing strong customer feedback on features helps us prioritize. Please keep the requests coming.
from azuredatastudio.
Awesome! I figured it had to be close because there's an execution plan viewer for estimated plans.
Feel free to tell me to create another issue for this, but I also noticed that the plan viewer doesn't show when you click on results cells with execution plans (like sp_whoisactive @get_plans = 1, or sp_BlitzCache) the way SSMS does. Don't know if that's part of the same bundle of tweaks or not. Thanks!
from azuredatastudio.
You can just include this before you query and it will automatically load the "Query Plan" tab in the results area.
SET showplan_xml ON
GO
Agree though that a button to enable this would be nice :)
from azuredatastudio.
@Matticusau bad news: that's still the estimated plan. For example, hovering your mouse over the operators doesn't show any information about the actual number of rows returned from each operator.
You only get the actual plan by actually running the query.
from azuredatastudio.
Good pick up @BrentOzar that's what I get for rushing to answer ;)
If you include SET STATISTICS XML ON
in the query it will return the XML SHOWPLAN as a resultset.
Then if you click the XML link (same as you would in SSMS), then save that XML to a file with the .sqlplan. You can then open that in SQLOPS. And that is the actual execution plan (unless i am mistaken again)
So SQLOPS does have the ability to display .sqlplan files which is nice, and we can get the actual execution plan XML, just need some UI functionality to tie the two together?
from azuredatastudio.
Bingo, yep, now you understand the problem!
from azuredatastudio.
This build has basic support for viewing an actual query plan https://github.com/Microsoft/sqlopsstudio/releases/tag/v0.24.1. The release note has a description of the current implementation.
I didn't have time in Dec. to get the UX how I want it, so finishing this up is planned for Jan. We'll probably have a toggle toolbar button similar to SSMS, though this we still need to review with our UX designer what pattern to us for "additional query data" scenarios.
from azuredatastudio.
Woohoo! This is so awesome, thanks! I'm going to play around with it this week and start blogging about it. I really appreciate this! Makes all the difference in the world in me getting it adopted.
from azuredatastudio.
Related Issues (20)
- Ability to view Results in a Transposed View
- Download of older version of ADS doesn't work. I always get latest release. HOT 2
- This needs a Snowflake extension.
- No visible connections HOT 2
- Account creation fails behind proxy server
- July 2024 Release Endgame
- Database publishing causes ALL default constraints to be refreshed.
- Intellisense keywords don't respect casing setting. HOT 2
- Copy result as coma separated string
- Position the cursor inside parens when autocomplete creates parens for a function that takes params
- In Schema Compare | Compare Details pane, lower part of minimap on RHS will be hidden behind the terminal pane when terminal pane is enlarged.
- In editor pane, doing a Change All Ocurrences, using mouse instead of arrow keys can lead to strange behaviour
- "desc" sometimes missing from intellisense, leads to bad suggestion
- Pin query execution result
- Horizontal Scrollbar Thickness
- SQL Fabric platform Support to the SQL Projects
- JAWS is not announcing "Group Color" label name when color radio buttons receiving focus. HOT 2
- Not Opening
- Couldn't start client Flat File Import Service
- Improve Icon for database projects in the Activity Bar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azuredatastudio.