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
A small scoop holds a sample in front of a broad full tray

How to Find Table Cardinality from the Execution Plan? – Interview Question of the Week #213

February 17, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

How to find table cardinality from the execution plan? I answer this health check question in two different ways, using a simple AdventureWorks query.

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
Two alternative measuring jigs remain beside a held joint for a temporary comparison.

SQL SERVER – Enabling Older Legacy Cardinality Estimation

February 9, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration, SQL Statistics

Legacy Cardinality Estimation temporarily stabilized one customer memory-grant problem. A query waited on RESOURCE_SEMAPHORE while the instance became unresponsive.

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
Four sorting channels deliver different-sized walnut heaps into separate compartments

Does Parallel Threads Process Equal Rows? – Interview Question of the Week #211

February 3, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, Parallel, SQL Scripts, SQL Server, SQL Statistics

Do parallel threads process equal rows? Usually no, and a simple AdventureWorks query with its actual execution plan proves it in a few seconds.

Read More
A lamplit wooden pier at dusk whose newly built far end extends past the last lamp into darkness.

The Ascending Key Problem: Estimates for Today’s New Rows

December 25, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Diagnose ascending key estimates with histogram boundaries, modification counts, and controlled comparisons before updating statistics.

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

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