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 narrow wooden footbridge over a calm stream with a small red gate closing its entrance.

Locking and Blocking Quiz: Will Updating a Different Row Wait?

January 6, 2012
Pinal Dave
SQL Puzzle
SQL DMV, SQL Index, SQL Lock, SQL Performance

This Locking and Blocking Quiz asks whether an update waits when it changes a different row than an open transaction. The answer depends on the index. A two-window test on SQL Server 2025 shows the wait, the lock that causes it, and two ways to remove it.

Read More
An open wooden box holds blank recipe cards beside a separate stack on a sunlit table.

What Is In the Plan Cache and How to Look

November 19, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Inspect the SQL Server plan cache, identify single-use plans and memory use, and understand what optimize for ad hoc workloads changes.

Read More
A leather splitter beside a finished thin strap and a new thick strap waiting at its rollers

Why SQL Server Has No Result Cache: Buffer Pool and Plan Cache

October 31, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

A second run is faster, but SQL Server did not remember your answer. A tiny demo shows what really gets reused: pages and plans.

Read More
A spokeshave follows a straight spindle, leaving neatly aligned wood shavings

POC Index: Supporting Window Functions Without a Sort

October 18, 2011
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server

Is a Sort slowing down your running totals? Build an index in partition, order, covering order and watch the Sort disappear from the plan.

Read More
Marbles jammed at the narrow neck of a glass funnel, more rolling toward it

Spotting tempdb Contention

October 9, 2011
Pinal Dave
SQL Performance
DBA, SQL Performance, SQL TempDB, SQL Wait Stats

Spot tempdb contention through PAGELATCH waits and allocation pages, then review file layout and current server settings before changing files.

Read More
A bootjack beside a compact leather boot and another expanded by a thick wool sock

Growing varchar Updates: How Longer Values Split Pages

October 4, 2011
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server

A varchar column costs almost nothing while it is empty and a lot once people fill it in. Here is the page count before and after, and what a rebuild recovers.

Read More
A folded route card on a desk showing three numbered stages joined by arrows

How to Read a SQL Server Execution Plan

October 3, 2011
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An execution plan is SQL Server showing its working. Read it inside out, learn the six operators you actually meet, ignore the cost percentages, and compare estimated rows with actual rows instead.

Read More
Previous 1 … 37 38 39 40 41 42 43 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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