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
An open folio remains available at the workbench beside a separate storage cabinet.

SQL SERVER – What is Logical Read?

November 12, 2020
Pinal Dave
SQL Performance
SQL Server, SQL Server Management Studio, SQL Statistics

A logical read requests a database page through the buffer cache. A customer asked about that measure after my STATISTICS IO video.

Read More
Bench, work-area and workpiece controls operate at three distinct scopes.

SQL SERVER – 3 Different Ways to Set MAXDOP

November 11, 2020
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

There are 3 different MAXDOP scopes: instance, database and statement. Readers of my 16-versus-1 demonstration asked where to configure it.

Read More
A continuous thread passes through an external fixture and returns to its loom.

SQL SERVER – PREEMPTIVE Waits and Scheduler Context

November 9, 2020
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Wait Stats

Preemptive waits can measure work outside SQL Server cooperative scheduling. A customer asked about their increase during a health check.

Read More
Gouache painting of a trail post with three arrow pointers, one of them vermilion

Multiple OPTIMIZE FOR Hints in One Query: Value or UNKNOWN

November 6, 2020
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Hint, SQL Scripts

Multiple OPTIMIZE FOR hints in one query are written as one list: each parameter gets its own value or UNKNOWN. This post compiles the same query six ways, reads the compile values and estimated rows from the plan cache, and shows which combinations SQL Server accepts.

Read More
Gouache painting: a long wooden shelf of identical round teapots, each with a plain linen string tied around its handle so they can be told apart, the first teapot left bare and one string dyed vermilion

Uniquifier: The Hidden Cost of Duplicate Clustered Keys

November 2, 2020
Pinal Dave
SQL Performance
Clustered Index, SQL Data Storage, SQL DMV, SQL Index

The uniquifier is a hidden 4-byte value that SQL Server adds to duplicate keys in a non-unique clustered index. This post measures its real cost row by row on SQL Server 2025 and shows it on the page. It also compares it with a unique key you choose yourself.

Read More
Gouache painting of a wall of wooden cubbies holding envelopes, with one vermilion envelope in one cubby

Scan Count Zero in STATISTICS IO: What the Number Means

October 28, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Statistics

Scan count zero in STATISTICS IO is not an error and not a free read. This post runs nine small queries and shows what 0, 1, 2 and 5 mean, why a unique lookup counts as zero, and why logical reads are the number to compare.

Read More
A burning candle with an iron nail in its side above a pewter dish, a red ribbon below.

Alerting on Long-Running Queries With a SQL Agent Job

October 26, 2020
Pinal Dave
SQL Performance
Database Mail, SQL DMV, SQL Monitoring, SQL Server, SQL Server Agent

Alert on long-running queries with a five-minute SQL Agent job, a deduplicated log, and one Database Mail notice per new request.

Read More
Previous 1 … 19 20 21 22 23 24 25 … 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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