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
SQL SERVER - Difference Between Update Lock and Exclusive Lock

SQL SERVER – Difference Between Update Lock and Exclusive Lock

February 15, 2010
Pinal Dave
SQL Interview Questions and Answers
SQL Lock

What is the difference between Update Lock and Exclusive Lock? An Update Lock can sit on a row that has a Shared Lock, then turns Exclusive when it writes.

Read More
An unattended hay wagon stands in the middle of a narrow stone bridge while a line of cyclists waits behind it.

Following a Blocking Chain to the Head Blocker

November 27, 2009
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Lock, SQL Transactions

Follow SQL Server blocking_session_id through a blocking chain, identify the head blocker, and choose a safe ending for the wait.

Read More
Bees crowding one narrow entrance of a wooden beehive while a second opening on the side stays almost empty.

High-Frequency Inserts Without Blocking

September 16, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Lock, SQL Server, SQL Wait Stats, Transaction Log

High-frequency inserts can stall on the log, indexes, or last-page contention; learn to diagnose the wait and choose targeted SQL Server fixes.

Read More
A grey seal asleep across the only path to a cove while a person with a red paddle waits behind it

Finding Sleeping Sessions That Still Hold Locks

June 19, 2009
Pinal Dave
SQL Performance
SQL DMV, SQL Lock, SQL Server, SQL Transactions

Find sleeping sessions with open transactions, inspect their locks and last batch, and identify the application owner before ending work.

Read More
Two forks, one red, pressing into the last slice of pie at the same moment

Preventing Overbooking When Two Sessions Grab the Last Seat

June 9, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Lock, SQL Server, SQL Transactions, Transaction Isolation

Learn preventing overbooking through a last-seat race, an atomic update, update locks, and a database constraint that rejects oversold inventory.

Read More
Movers measuring a narrow doorway before carrying a red sofa through

Reviewing a Table Change Script Before It Locks Production

February 18, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Lock, SQL Server, SQL Table Operation

Review a table change script for schema locks, data rewrites, supported online options, backfill batches, and a tested rollback.

Read More
A trail camera on a fence post watches one sheep standing in a narrow gateway while another waits behind it.

The Blocked Process Report

December 8, 2008
Pinal Dave
SQL Performance
SQL Extended Events, SQL Lock, SQL Monitoring, SQL Server, SQL Server Configuration

The blocked process report shows the waiting session and blocker after a configured threshold, with Extended Events capturing the XML for review.

Read More
Previous 1 … 6 7 8 9 10 Next
  • Books
  • Testimonials
  • Privacy Policy

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