Tag: dmv

SQL Server insights from 25+ years in the field

Performance tips, security advisories, health check findings, and industry analysis. Practical, technically accurate, no fluff.

20 Nov 2018 · 6 min read

Why is the SQL Server So Slow?

When SQL Server slows down, wait statistics reveal exactly where the problem is hiding. Learn how to query DMVs to diagnose performance issues quickly.

Read article →
15 May 2018 · 6 min read

Script: Query Full Table Scans via the Search Cached Plans’ DMV

Use SQL Server's plan cache DMVs to surface full table scans, missing indexes, and columns with no statistics without running a trace or waiting for an incident.

Read article →
15 May 2018 · 6 min read

Uncover Missing Indexes with DMV

Learn how to use SQL Server's missing index DMVs to identify index gaps that are quietly draining CPU and I/O from your production environment.

Read article →
15 May 2018 · 6 min read

How to Grant Read-Only Access to Activity Monitors

Learn how to grant read-only Activity Monitor access in SQL Server using VIEW SERVER STATE, without handing over sysadmin rights.

Read article →
15 May 2018 · 6 min read

How to Fix Performance Dashboards for SQL 2008

Learn how to apply Microsoft's compatibility update to get the SQL Server 2005 Performance Dashboard working correctly against SQL Server 2008 and 2008 R2 instances.

Read article →
15 May 2018 · 6 min read

SQL Server DMV Query to Output Index Fragmentation by Database / Table

Learn how to query SQL Server index fragmentation using DMV views and identify which indexes need rebuilding or reorganising to restore query performance.

Read article →
15 May 2018 · 6 min read

Add these 5 Must-Have DMV Queries to your DBA Toolbelt!

Five field-tested DMV queries that give you immediate visibility into SQL Server performance, from procedure execution frequency to wait statistics and plan cache health.

Read article →
15 May 2018 · 6 min read

Return Top 50 Queries by Average CPU

When your SQL Server is running hot, knowing which queries are responsible is the first step. This script uses DMVs to surface the top 50 queries by average CPU time.

Read article →
15 May 2018 · 5 min read

How to Check Fragmentation Level of a Database

Index fragmentation builds silently and drags down SQL Server performance over time. Learn how to check fragmentation levels and identify which indexes are worth acting on.

Read article →
15 May 2018 · 6 min read

How to Find Longest Running Queries

Learn how to find your longest running SQL Server queries using sys.dm_exec_query_stats, so you can identify the top resource consumers and fix performance problems fast.

Read article →

SQL Server insights, monthly.

Performance tips, security advisories, and industry analysis. No fluff, no spam.