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
Four ants carrying crumbs, the last one far behind under a huge red crumb

Uneven Parallelism: Spotting Skewed Threads Behind CXPACKET Waits

December 15, 2012
Pinal Dave
SQL Performance
Execution Plan, MAXDOP, Parallel, SQL Wait Stats

Diagnose uneven parallelism by comparing CXPACKET and CXCONSUMER with per-thread row counts in plans and live query profiles.

Read More
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
Four ladders against separate apple trees in an orchard row, a full basket under each and one cart waiting at the end.

Loading Partitions in Parallel

March 26, 2012
Pinal Dave
SQL Tips and Tricks
ETL, Parallel, SQL Lock, SQL Server, Table Partitioning

Loading partitions in parallel uses separate staging tables, controlled workers, and partition switching to publish data without chaotic locks.

Read More
A ski boot remains attached to a ski by a closed heel binding beside the open toe release

Computed Column UDFs: Why Every Query on the Table Goes Serial

March 22, 2012
Pinal Dave
SQL Performance
Computed Column, Execution Plan, Parallel, SQL Function

A computed column that calls a scalar function can block parallel plans for queries that never read it. Here is how to spot it and test a fix.

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 long rowing boat with eight oars sitting in a garden pond barely bigger than the boat.

Setting MAXDOP and Cost Threshold Sensibly

November 16, 2010
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL CPU, SQL Performance, SQL Server Configuration

MAXDOP and cost threshold work together to shape parallel plans; inspect current values, test a change, and watch real workload effects.

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

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