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
Two delivery trolleys stopped nose to nose in a narrow corridor, neither able to pass

What Is a Deadlock in SQL Server?

April 4, 2013
Pinal Dave
SQL Performance
Best Practices, Database, SQL Performance, SQL Server

A deadlock in SQL Server is two sessions each holding what the other needs. I caused one on purpose and read error 1205. Why it is not the same as blocking, who gets killed, and the boring fix that works.

Read More
A red squirrel moving the last acorn from one of two tree hollows into the other, now full

Overlapping Indexes With INCLUDE Columns: Merging Them Safely

April 2, 2013
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Index, SQL Performance

Find overlapping indexes, compare ordered keys and INCLUDE lists, merge coverage carefully, and review usage before removing either index.

Read More
A hand-drawn map where a road has been redrawn in red around a new lake

Why Queries Recompile

March 24, 2013
Pinal Dave
SQL Performance
Execution Plan, Recompile, SQL Cache, SQL Extended Events, SQL Performance

Why queries recompile becomes clearer when you capture Extended Events causes and check schema changes, statistics, SET options, and temp tables.

Read More
A red wedge folded under one leg of a wobbly table

Query Store Hints: Fixing a Query Without Touching Its Code

March 19, 2013
Pinal Dave
SQL Performance
Execution Plan, Query Hint, Query Store, SQL Performance

Apply query store hints to a vendor query without code changes, verify failures and plan behavior, then clear the hint after the real fix.

Read More
A line of buckets waiting on the rim of a village well, a red bucket first in line.

Reading Pending I/O Requests During a Storage Slowdown

March 16, 2013
Pinal Dave
SQL Performance
Disk, SQL DMV, SQL Performance, SQL Wait Stats

Sample pending I/O requests during PAGEIOLATCH or WRITELOG stalls, map each request to a file, and share timed evidence.

Read More
A candelabra with one red candle burned far lower than the others

Finding Which Database Uses the Most CPU on a Shared Instance

March 15, 2013
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Performance, SQL Server

Find which database uses the most CPU from cached query stats and plan attributes, then use Query Store for restart-safe history.

Read More
Biscuit joiner set against one timber joint beside an untouched matching joint

QUERY_OPTIMIZER_HOTFIXES: Turning On Optimizer Fixes per Database

February 24, 2013
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server

A vendor says to turn on optimizer hotfixes. Here is how I check the setting, try it on one statement, and restore it.

Read More
Previous 1 … 33 34 35 36 37 38 39 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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