This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
all sessions

List All Sessions – SQL in Sixty Seconds #148

December 22, 2020
Pinal Dave
SQL Video
SQL Activity Monitor, SQL in Sixty Seconds, SQL Scripts, SQL Server

One of the most frequent questions which I receive from my client is about activity going inside SQL Server and how to list all sessions.

Read More
Gouache painting of a telescope on a harbor wall watching one vermilion sailboat move among anchored boats

Watch a Running Query: Live Plan From Activity Monitor

September 2, 2020
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Activity Monitor, SQL DMV, SQL Scripts

To watch a running query, open Activity Monitor in SSMS 22, find the query in Active Expensive Queries, and open its live execution plan. It also shows the settings that older versions need and a T-SQL query that reads the same facts.

Read More
Gouache painting of a row of tilted pinwheels in the sand with the still middle one vermilion

Activity Monitor Keeps Freezing: Fix WMI and Permissions

April 8, 2020
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Monitoring, SQL Server Security, WMI

When Activity Monitor keeps freezing, the cause can be a missing SQL permission or a missing WMI permission for the Windows account. This post tests the SQL side on SQL Server 2025, walks through the WMI security fix and explains what CIMV2 means. It also gives a query that reads the same activity without Activity Monitor.

Read More
Asparagus shoots growing in close groups separated by a broad patch of bare soil

Sessionizing Events: Grouping Activity Into Sessions by Idle Gap

July 9, 2019
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Extended Events, SQL Server

Your events have a user and a time but no visit ID. Here is how to infer sessions from an idle gap with LAG and a running sum.

Read More
An allocated chest has empty space inside while keeping its full shelf footprint.

SQL SERVER – How to Find Free Log Space in SQL Server?

May 8, 2018
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Scripts, SQL Server, Transaction Log

Free Log Space is reusable capacity inside an allocated transaction log. I measure disk space and file size separately.

Read More
A brass bell beside a shut gatehouse window with a red mark painted below

SQL SERVER – Msg 32055 – sp_refresh_log_shipping_monitor – There Was an Error Configuring the Remote Monitor Server

December 23, 2017
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Activity Monitor, SQL Error Messages, SQL Server, SQL Server Security

Msg 32055, error configuring the remote monitor server, hides the real error. Read from the procedure on SQL Server 2025, with a safer fix than sa.

Read More
A wall of identical pressure gauges in a plant room, every needle resting at the same steady value.

Hey DBA – Baselines and Performance Monitoring – Why? – Notes from the Field #058

December 11, 2014
Pinal Dave
SQL Tips and Tricks
DBA, Notes from the Field, SQL Activity Monitor, SQL Server

Mike Walsh explains why baselines and performance monitoring matter for every DBA, and how to know what normal looks like on your servers.

Read More
1 2 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com