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
A dustpan collects spilled grain beside one of two intact neighboring strips

Exchange Spill: When Parallel Streams Write to tempdb

July 24, 2012
Pinal Dave
SQL Performance
Execution Plan, Parallel, SQL Extended Events, SQL TempDB

Tempdb writes during a parallel query, with no sort warning in sight? Here is a demo that spills every time, and how to find the operator.

Read More
Crossed pull cords immobilize the slats of a single Venetian blind

Intra-Query Parallel Deadlock: When One Query Blocks Itself

March 13, 2012
Pinal Dave
SQL Performance
Deadlock, MAXDOP, Parallel, SQL Extended Events

No error, no deadlock graph, just a report that is slow on some runs. Here is a demo where one query deadlocks with itself, and how to fix it.

Read More
A detailed cabinet opens one fitted compartment of wooden cubes for careful inspection.

Troubleshooting Cube Performance: Three Checks

June 6, 2011
Pinal Dave
SQL Performance
SQL Analysis Services, SQL Extended Events, SQL Monitoring, SQL Performance

Diagnose cube performance by comparing the same MDX query, processing changes and resource pressure before choosing a repair.

Read More
A wooden bar latch above a separate metal valve handle and pipe flowing into a stone basin.

STARTUP_STATE: Check Whether an Extended Events Session Is Running

March 24, 2011
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Monitoring, SQL Scripts, SQL Server

STARTUP_STATE controls automatic startup after SQL Server starts, while current session state tells whether an Extended Events session is running now. Compare both states and verify an event-file capture before assuming that a setting started the session.

Read More
A hand turning the crank of a red barrel organ with its punched roll feeding

Replaying a Production Workload After Distributed Replay

November 18, 2010
Pinal Dave
SQL Performance
SQL Extended Events, SQL Server, SQL Upgrade, Testing

Capture a production workload with Extended Events and replay it on a restored copy using WorkloadTools or ostress after Distributed Replay.

Read More
SQL SERVER - Introduction to Extended Events - Finding Long Running Queries

SQL SERVER – Introduction to Extended Events – Finding Long Running Queries

March 29, 2010
Pinal Dave
SQL Performance
SQL Extended Events, SQL Scripts, SQL Server, SQL Training

After reading Jonathan Kehayias on Extended Events, I added them to my performance tuning course. An introduction, with a way to find long running queries.

Read More
A landing net lifted from a clear stream holds one large trout while small fish slip back through the mesh.

Your First Extended Events Session

June 7, 2009
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Monitoring, SQL Performance, SQL Server

Build your first Extended Events session for slow SQL calls, choose a bounded ring buffer or file target, and read the captured result.

Read More
Previous 1 … 3 4 5 6 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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