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
Gouache painting of a sunny courtyard with wooden stools holding saplings, the front stool vermilion

Index a Computed Column in SQL Server

August 20, 2021
Pinal Dave
SQL Performance
Computed Column, SQL Index, SQL Performance, SQL Scripts

To index a computed column, define the formula once on the table and create a normal index on it. This post loads 200,000 rows, shows the scan, then the seek after the index, and tests the rules that decide whether SQL Server accepts the column.

Read More
A silt core sampler showing a short retained column of layered sediment

Reading the Connectivity Ring Buffer for Dropped Connections

August 19, 2021
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

The error log says nothing, but the connectivity ring buffer may remember. Here is how to read it and what it cannot tell you.

Read More
A rag rug with broad repeated-color bands and distinct color transitions

Status Changes Only: Collapsing Repeated Rows With LAG

July 30, 2021
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Hundreds of repeated readings, three real changes. Here is how LAG finds them, and why a plain not-equal test quietly drops rows.

Read More
A row of iron cleats on a dock, all lines slack except one taut red line.

Latch Waits at the Top: Reading sys.dm_os_latch_stats

June 28, 2021
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Sample SQL Server latch waits by class, then connect ACCESS_METHODS_DATASET_PARENT, FGCB_ADD_REMOVE, and LOG_MANAGER to the next check.

Read More
Gouache painting of three mountain paths from one post to the same hut, with a vermilion stone cairn on the middle path

Group by Query Hash: Find One Query With Many Plans

June 4, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Scripts

Group by query hash to add up every cached copy of one query. See why the top query hides across entries in SQL Server.

Read More
many plans

One Query Many Plans – SQL in Sixty Seconds #171

June 3, 2021
Pinal Dave
SQL Video
Execution Plan, SQL Cache, SQL in Sixty Seconds, SQL Performance, SQL Server

After the blog post, lots of people asked me it will be more helpful if I can create a video on the same topic of one query many plans.

Read More
A caddie drawing the next club from a golf bag while the golfer is still walking toward the ball

Read-Ahead Reads in STATISTICS IO: What They Tell You

May 26, 2021
Pinal Dave
SQL Performance
Disk, SQL Performance, SQL Scripts, SQL Server

Interpret read-ahead reads in STATISTICS IO, compare isolated cold scans and seeks, and separate prefetch from storage-wait evidence.

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

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