Should I use SSMS or 'Sentry Plan Explorer' in my scenario ?

Voldman, Eliya 80 Reputation points
2025-03-02T15:25:41.4833333+00:00

Hello,

I'm quite new in this area ... hence, apologize for the 'silly question'.

I am using SSMS v18.12.1

My goal is to analyze slow performance in web-based application connected to MS SQL server.

I tried to run 'slow' query in SSMS and then look into 'Actual Execution Plan' as a step 1. As a step 2 ... I executed the same operation/transaction from my web-based application and collected data using SSMS Profiler. From Profiler I also looked in 'Execution Plan'. Eventually I wanted to compare those 2 Plans ... but noticed that it's not very 'friendly' for me and 'comparison of Plans' did not help me.

One recommended me to try SQL Sentry Plan Explorer. I added it to Tools in SSMS and tried to use as well. First, I did not find the feature for Plan Comparison in 'Plan Explorer'. Second, it looks a little bit more user-friendly than SSMS for Plan analysis.

Hence, here are my questions:

  1. am I on right track to compare 'Execution Plan'?
  2. Is my approach of comparing Plan from SQL and from application itself ... correct approach?
  3. Should I use 'Sentry Plan Explorer' at all ... or SSMS tool is good enough? Sorry for asking so many questions ... but I would like to have your opinion ... Thanks.
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
147 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 119K Reputation points MVP
    2025-03-02T17:58:07.9766667+00:00

    First of all, you are using an old version of SSMS. You can get the latest version here.

    I'm afraid that there are no clearcut answers to your questions. What is the best is very much a matter of preference. When Plan Explorer first appeared, it came with some fresh ideas, but personally I think SSMS has improved over the years, and I find that I don't use Plan Explorer very often. But I am sure that there are people out there with a dissenting opinion.

    When it comes to comparing plans, I have not found the plan-comparison feature in SSMS to be of much value. But again that is a matter of preference. If I want to compare plans, I usually compare the raw XML in Beyond Compare. That is something which only makes sense when plans are very similar, but I want to find subtle differences.

    As for being on the right track, I am not sure what your problem is. But if your problem is that a query is slow in the application, and runs faster in SSMS, you may be interested in an article on my web site: Slow in the Application, Fast in SSMS? which give you tips for this situation.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,286 Reputation points
    2025-03-03T07:58:13.8933333+00:00

    Hi @Voldman, Eliya,

    The SSMS Execution Plan is suitable for quickly examining the execution logic of simple queries or serving as a foundational tool for daily development debugging. Sentry Plan Explorer, on the other hand, is better suited for in-depth performance tuning scenarios, particularly when analyzing complex queries, stored procedures, or parameter sniffing issues.

    The built-in execution plan tool in SSMS is an essential foundational feature, while Sentry Plan Explorer acts as a professional-grade performance analysis extension.

    These two tools can be used in combination: first use SSMS to rapidly identify the problem framework, then employ Plan Explorer to delve into detailed analysis and optimization strategies. For DBAs or developers requiring frequent tuning, Plan Explorer's automated analysis and visual capabilities can significantly enhance efficiency in query optimization workflows.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.