| Category | Tool Name | Type | Purpose / What It Does | Best For | Cost |
|---|---|---|---|---|---|
| Built-in SQL Server Tools | Query Store | Native feature | Captures query history, execution plans, regressions; identifies top slow queries. | Performance tuning, plan forcing | Free |
| Execution Plans (Actual/Estimated) | Native feature | Visualizes how SQL runs (scans, seeks, joins, memory spills). | Query tuning & indexing | Free | |
| Dynamic Management Views (DMVs) | Native feature | Internal performance stats (CPU, IO, spills, missing indexes, plan cache). | Expert-level diagnostics | Free | |
| SQL Profiler | Native tool | Real-time capture of SQL calls, duration, CPU, parameters. | Debugging .NET queries, N+1 detection | Free | |
| Extended Events | Native feature | Lightweight, production-safe tracing (modern profiler). | Production monitoring | Free | |
| Database Engine Tuning Advisor (DTA) | Native tool | Suggests indexes, indexed views based on workloads. | Index recommendations | Free | |
| Performance Monitor (PerfMon) | OS-level tool | System counters: CPU, memory, IO, SQL locks, buffer pool metrics. | Server-level performance | Free | |
| SSMS / ADS Extensions | Azure Data Studio + Extensions | Editor + plugins | Query tuning helpers, execution plan viewer, built-in Copilot. | Cross-platform SQL development | Free |
| Redgate SQL Prompt | Commercial extension | Query formatting, suggestions, best-practice hints. | Developer productivity | Paid | |
| Redgate SQL Search | Free tool | Searches objects quickly across DB. | Schema navigation | Free | |
| Redgate SQL Compare | Commercial | Schema diff & deployment. | DB DevOps | Paid | |
| dbForge Studio for SQL Server | Commercial toolkit | Query profiler, analysis, tuning, database explorer. | GUI-based SQL tuning | Paid | |
| ApexSQL Tools | Commercial | Index analysis, plan analysis, performance monitoring. | Advanced tuning | Paid | |
| APM (Application Performance Monitoring) | Azure Application Insights | Cloud APM | Tracks slow ASP.NET requests, DB dependency timings, failures. | Azure-hosted .NET apps | Free / Paid |
| New Relic APM | APM | End-to-end tracing, slow SQL insights. | Cloud & enterprise apps | Paid | |
| Dynatrace | APM | Full-stack monitoring, auto-detection of slow DB queries. | Large distributed systems | Paid | |
| Datadog APM | APM | SQL performance metrics + .NET tracing. | Modern microservices | Paid | |
| AppDynamics | APM | Business transaction tracing, slow SQL analysis. | Large enterprises | Paid | |
| Load Testing / Perf Testing | k6 | Load testing tool | Stress-testing endpoints hitting MSSQL. | API/database load simulation | Free / OSS |
| JMeter | Load testing tool | Heavy-load scenarios, distributed tests. | Enterprise load testing | Free | |
| Locust | Python-based load tool | Easy scriptable load testing. | Developer-friendly testing | Free | |
| wrk / Vegeta | HTTP load generators | Very fast, low-overhead tests. | High-volume test scenarios | Free | |
| .NET / Programming Tools | BenchmarkDotNet | Benchmarking library | Micro-benchmarks for EF Core, Dapper, LINQ, etc. | Code-level performance tests | Free |
| EF Core Logging / Diagnostics | Built-in feature | Logs SQL, reveals N+1 queries, timings. | EF Core performance debugging | Free | |
| ASP.NET Middleware Logging | Application-level | Track request time, SQL query count per request. | API performance | Free | |
| AI-Assisted Tools | GitHub Copilot | IDE assistant | Rewrite SQL, suggest indexes, optimize LINQ. | Developer productivity | Paid |
| Azure Data Studio Copilot | AI SQL helper | Explains plans, optimizes queries, proposes indexing. | SQL developers | Free (preview) | |
| ChatGPT / Claude / Gemini | AI models | Analyze execution plans, rewrite queries, explain tuning. | Performance c |
1. Built-in SQL Server Tools (You Already Own These)
1.1 Query Store ✅ (must-use)
What it does
- Captures history of queries, execution plans, runtime stats (CPU, duration, reads, etc.).
- Shows top resource-consuming queries and plan regressions.
- Lets you force a good plan if a bad one appears.
Why it’s great for you
- Perfect for your “before vs after” experiments.
- Central to any serious performance engineering workflow.
How to enable (quick refresher)
ALTER DATABASE YourDbName
SET QUERY_STORE = ON;
Then, in SSMS:
- Database → Query Store → Top Resource Consuming Queries, Regressed Queries, etc.
1.2 Execution Plans (Actual Execution Plan)
What it does
- Shows how SQL Server runs your query (scans, seeks, key lookups, joins, spills, etc.).
- Helps you see missing indexes, bad joins, parameter sniffing issues.
How to use
In SSMS:
- Click Include Actual Execution Plan (Ctrl+M) and run the query.
- Look for:
- Index Scan / Table Scan
- Key Lookup
- Hash Match + tempdb spills
- Big estimated vs actual row differences
1.3 Dynamic Management Views (DMVs)
What they do
- Internal system views that expose:
- Top CPU / IO queries
- Missing indexes
- Index usage
- Plan cache
Examples
sys.dm_exec_query_statssys.dm_exec_sql_textsys.dm_exec_query_plansys.dm_db_missing_index_detailssys.dm_db_index_usage_stats
(We already built a mini script library for you in Appendix B of the “book” above – that’s basically your DMV toolkit.)
1.4 SQL Server Profiler / Extended Events
SQL Server Profiler
- Real-time stream of:
- Queries
- Duration
- CPU
- Reads
- Parameters
- Very handy when you want to see exactly what your .NET app is doing.
Extended Events
- The modern replacement for Profiler.
- More lightweight and production-friendly.
Use cases:
- Catch long-running queries from ASP.NET.
- Validate N+1 issues.
- See which endpoints hammer the DB.
1.5 Database Engine Tuning Advisor (DTA)
What it does
- Takes a workload (trace / query file) and recommends:
- Indexes
- Indexed views
- Partitions
It’s good as a second opinion. Don’t blindly apply everything, but it often gives useful index hints.
1.6 Performance Monitor (PerfMon) + SQL Server Counters
Windows + SQL Server performance counters:
SQLServer:Buffer Manager(Page life expectancy, etc.)SQLServer:SQL Statistics(Batch Requests/sec)SQLServer:Locks(deadlocks, lock waits)Processor,Memory,PhysicalDisk
Use them to see if the bottleneck is:
- CPU
- IO
- Memory
- Locks
2. SSMS/Azure Data Studio Extensions & Helpers
These are tools that live inside or alongside SSMS / Azure Data Studio and make tuning easier.
2.1 Azure Data Studio + Extensions
- Built-in notebooks, integration with Query Store, and optional Copilot/AI features (depending on setup).
- Nice for:
- Query analysis
- Lightweight SQL development
- Cross-platform work
2.2 Redgate Tooling (commercial but widely used)
- SQL Monitor – monitors SQL Server performance, alerts on long-running queries, blocking, etc.
- SQL Prompt – helps rewrite queries, detect bad patterns, format SQL neatly.
- SQL Profiler-like functionality & monitoring dashboards.
These are extremely popular in SQL Server shops for ongoing performance monitoring and tuning.
2.3 dbForge / ApexSQL / Devart toolsets
Vendors like Devart (dbForge) and ApexSQL provide:
- Query profilers / analyzers
- Index analyzers
- Execution plan visualizers
- Monitoring dashboards
These are GUI-heavy tools that make analysis simpler when you don’t want to live in raw DMVs.
3. Application Performance Monitoring (APM) for .NET + MSSQL
These tools see end-to-end: HTTP request → .NET code → SQL query.
3.1 Azure Application Insights
- Deep integration with ASP.NET / .NET.
- Shows:
- Slow requests
- SQL dependencies (with timings)
- Call stacks
Very good if you’re already on Azure / App Service / AKS.
3.2 Other APMs
- New Relic
- Dynatrace
- Datadog
- AppDynamics
They provide:
- Transaction traces
- SQL call breakdowns (per endpoint)
- N+1 detection clues
- Throughput & latency dashboards
These are great when you want to say “this specific API route is slow because of this specific SQL”.
4. Performance & Benchmarking Tools for .NET + MSSQL
4.1 BenchmarkDotNet
- For micro-benchmarks on .NET code paths.
- You can:
- Benchmark different EF Core queries.
- Compare Dapper vs EF Core vs raw ADO.NET.
- See allocations & timing.
Perfect for lab-style experiments like we designed earlier.
4.2 Load Testing Tools
To stress-test your ASP.NET + MSSQL combo:
- k6
- JMeter
- Locust
- Vegeta / wrk (HTTP-level)
Use them to:
- Hit endpoints
- Watch SQL load via Query Store + DMVs
- Validate your “before vs after” improvements with data.
5. AI-Assisted Tools (Already Lining Up With Your Training Content)
On top of all the above, you can layer AI-based tools:
- GitHub Copilot / Copilot Chat – helps rewrite LINQ and SQL, explain performance issues from plans.
- Azure Data Studio Copilot – explains queries, suggests improvements.
- Generic AI (like me) – you can paste:
- query text
- execution plan XML (or summary)
- table schema
and ask for “index and query optimization suggestions”.
The key is: AI + Query Store + Execution Plans + DMVs = extremely powerful combo.
6. What I’d Recommend You Use First (Concrete Path for You)
Given everything you’re already doing (training, labs, and deep .NET work), I’d prioritize:
- Query Store
- Turn it on for your key DBs.
- Use it as your main “top slow queries” dashboard.
- Actual Execution Plans + DMVs
- For each slow query, always:
- Get the actual plan.
- Run the DMV scripts we built in Appendix B.
- For each slow query, always:
- SQL Profiler / Extended Events
- Use them when debugging real-time issues or verifying EF Core behavior (N+1, too many round-trips).
- PerfMon + basic APM
- To see if the bottleneck is SQL, CPU, or something else.
- Optional 3rd-party
- If you want a polished view: Redgate SQL Monitor or a full APM like Datadog / New Relic.
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow , and SEO strategies at Wizbrand.
Do you want to learn Quantum Computing?
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at WIZBRAND
This is an excellent reference for anyone working with MSSQL — especially developers and DBAs focused on performance tuning and database health. The article neatly categorizes both built‑in tools (like Query Store, Execution Plans, DMVs, Extended Events, Performance Monitor) and third‑party/commercial suites — giving a full spectrum of options depending on whether you want a free, no‑frills solution or a more advanced, enterprise‑grade toolset. I appreciate how it doesn’t just list the tools, but also explains when and why to use them — for instance, using Query Store and DMVs for query‑level diagnostics, Extended Events or Profiler to catch real‑time issues from .NET applications, and full monitoring suites (like Redgate, ApexSQL, SolarWinds, etc.) when you need comprehensive tracking, alerts and analysis across database estates. For anyone running high‑traffic or mission‑critical MSSQL environments, this kind of layered, tool‑aware approach to performance management is indispensable.