How to Show Better Execution Plans in Azure Data Studio

Table of Contents

Azure Data Studio is starting to mature and some neat features are coming to the vscode-based (and now multidatabase and multiplatform) tool.

We got query plans in the app since some time, but to be frank they’re not very pretty and have some issues with dark themes:

Phantom Lines in plans with Dark Theme

The new way

Phil Scott built the Queryplan.show extension for Azure Data Studio, which adds the in-app query plan analysis that’s on the website above.

Check it out:

So Shiny

How to use it

  • Download the latest vsix file from here
  • Install it using “Install from VSIX” command (or file->Install Extensions from VSIX Package)

Then it’s pretty easy, you just have to find yourself with an XML Plan in Azure Data Studio, either by running your query with CTRL+M (as in the gif above) or for example getting it from WhoisActive or sp_BlitzCache and then launch the QueryPlan.Show in the command prompt (ctrl+shift+p)

And it looks good in every color theme!

comments powered by Disqus

Related Posts

Slides and materials for my session "How to use PowerBI as a Monitoring Tool" @ GroupBy.org

Good news everybody! As you may know if you follow me on Linkedin , I’ve been selected as one of the GroupBy Speakers for the last GroupBy session for 2019!

Read More

Use SQL Server on Docker for Windows, the easy way

I wanted to install and test SQL Server 2019 on a new machine, without the hassle to create a VM from scratch, since I had none of my resources from this new place, that’s when I remembered about Docker and how Microsoft is slowing reaching feature parity for SQL on LInux , moreover, I didn’t need any of the unsupported stuff, so.

Read More

SQL Server Diagnostic Notebook Updated

Good news everyone! As always, I’ve updated the SQL Server Diagnostic Notebook to include the latest updates to the source scripts

Read More