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 white card model houses on a drafting table with a vermilion waste bin nearby

Hypothetical Indexes in SQL Server: Find and Drop Them All

February 28, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Statistics

Hypothetical indexes are leftovers from the Database Engine Tuning Advisor. They hold a name and statistics but no data. This post lists them, shows they cannot serve a query, and drops them in two steps: a list you read first, and a drop second.

Read More
The morning catch sorted into shallow crates on ice on a harbor quay, a hand lifting one fish from a crate.

Eager Index Spool: When the Plan Builds Its Own Index

February 23, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Investigate an eager index spool, read seek keys and output, and compare a supporting index with the cost of rebuilding temporary storage.

Read More
Gouache painting of a cabinet of drawers each holding a bolt and washers, one bolt in vermilion

Index Key Columns and Included Columns in SQL Server

February 21, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts

Index key columns and included columns show what each index really stores. This post builds one query that lists them for every index, then a second query that finds indexes with the same keys or a shared leading key. It ends with the rules for merging them safely.

Read More
Gouache painting of a toll plaza with two crowded lanes and one idle lane with a vermilion barrier arm

Update Statistics With FULLSCAN and MAXDOP in SQL Server

February 15, 2019
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Scripts, SQL Statistics

To update statistics with FULLSCAN in parallel, add MAXDOP to the statement. This post builds a table of 3 million rows, times the update with MAXDOP 1, the instance default and 8, and shows which statistics speed up and which do not.

Read More
Overlapping braces are reviewed beside selected fittings and preserved original pieces.

SQL SERVER – Say No To Database Engine Tuning Advisor

February 5, 2019
Pinal Dave
SQL Performance
SQL Index, SQL Server, SQL Statistics

I review Database Engine Tuning Advisor recommendations against the workload before applying them. That was the point behind my original opinion.

Read More
A wooden log flume on a hillside with logs queued at the top and a red log stuck midway.

WRITELOG Waits: Finding What Slows Transaction Log Writes

February 4, 2019
Pinal Dave
SQL Performance
SQL Performance, SQL Server, SQL Wait Stats, Transaction Log

Diagnose WRITELOG waits with log-file latency, commit patterns, and measured choices for batching, storage, and durability.

Read More
Tightly rolled fleeces in a row on a barn floor, beside an open hamper of loose wool waiting to be rolled.

Columnstore Bulk Load: Why Batch Size Decides Where Rows Land

January 22, 2019
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, SQL Index, SQL Server

Review columnstore bulk load batch sizes, inspect delta and compressed rowgroups, and measure the cost of forcing small groups to compress.

Read More
Previous 1 … 43 44 45 46 47 48 49 … 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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