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
Extended Events

Capturing Stored Procedure Executions with Extended Events in SQL Server

July 11, 2024
Pinal Dave
SQL Performance
SQL Extended Events, SQL Stored Procedure

Capturing stored procedure executions with Extended Events: set up a session with module_end, run a sample procedure, and query the captured data.

Read More
Gouache painting of a huge barn of hay bales with one vermilion bale and a tiny wheelbarrow

Large Memory Servers: How SQL Server Scans the Buffer Pool

May 29, 2023
Pinal Dave
SQL Performance
SQL Backup and Restore, SQL Extended Events, SQL Memory, SQL Server 2022

SQL Server scans the buffer pool during startup, backup, restore and DBCC, and large memory servers feel it most. An extended event records the scans, shows which commands start one and how many tasks each uses. The last sections explain what SQL Server 2022 changed.

Read More
A small vermilion dinghy carrying one tiny parcel across a harbor while dozens more wait on a cargo boat.

Chatty Applications: Finding Many Tiny Queries per Second

April 28, 2023
Pinal Dave
SQL Performance
SQL Counter, SQL Extended Events, SQL Monitoring, SQL Server, SQL Wait Stats

Diagnose chatty applications with batch rates, cached executions, bounded session event counts, and measured round trips per user action.

Read More
A broad fitting catalog remains distinct from a selected work tray and retained records.

SQL SERVER – List of Trace Events

October 13, 2021
Pinal Dave
SQL Performance
SQL Extended Events, SQL Scripts, SQL Server, SQL Trace

sys.trace_events lists available SQL trace events rather than only default-trace collection. Readers asked after my creation-date article.

Read More
Gouache painting of a cut tree stump with rings and a vermilion pin at the center

When a Table Was Created: Find It With Metadata and Traces

October 11, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Extended Events, SQL Scripts, SQL Server, SQL Trace

To find when a table was created, read create_date from sys.tables. This post adds the default trace and an Extended Events session for the question of who created it, and tests what a rename or an ALTER does to the date.

Read More
A sewing machine with a half-finished seam, a hand pulling the fabric free with a loose thread still attached

Finding Queries the Application Cancelled With Attention Events

July 14, 2020
Pinal Dave
SQL Performance
Query Store, SQL Extended Events, SQL Monitoring, SQL Server

Capture attention events for canceled requests, read event-file XML, compare Query Store aborts, and inspect transaction cleanup.

Read More
Gouache painting of a hose overflowing a full bucket onto a path beside a tap with a vermilion wheel

SSMS Command Timeout: What the Execution Time-out Does

April 23, 2020
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Server Configuration, SQL Server Management Studio, Testing

The SSMS command timeout is the number of seconds a query window waits before it cancels a batch. This post lists the four places a time-out can come from and reproduces a client time-out with sqlcmd and PowerShell. It also shows how an Extended Events session proves that the client gave up.

Read More
1 2 3 4 … 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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