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 empty sewing tin stands beside many thread spools that have not been placed inside it

How to Create an Empty Table and Fool Optimizer to Believe It Contains Data? – Interview Question of the Week #204

December 16, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Scripts, SQL Server, SQL Statistics, SQL Table Operation

How do you create an empty table and fool the optimizer into thinking it has data? Nobody asked me that in 20 years, but I use this trick in Health Checks.

Read More
Graduated plates stand in two racks in opposite size orders

Does Sort Order in Index Column Matters for Performance? – Interview Question of the Week #199

November 11, 2018
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Index, SQL Performance, SQL Server, SQL Statistics

Does the sort order in an index column matter for performance? Yes, in some specific scenarios, and here is an example from a recent Health Check question.

Read More
Books are neatly arranged while a separate record book remains unchanged

Do Index Reorganization Update Statistics? – Interview Question of the Week #196

October 21, 2018
Pinal Dave
SQL Interview Questions and Answers
Maintenance Plan, SQL Index, SQL Performance, SQL Scripts, SQL Server, SQL Statistics

Question: Do Index Reorganization Update Statistics?

Answer: No. Index Reorganization does not update Statistics of your database.

Read More
A hand washing with a thin worn sliver of soap while a new red bar dries on the windowsill.

Asynchronous Statistics Updates: When They Help and When They Hurt

September 27, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Evaluate asynchronous statistics updates against compile latency, data-change timing, and low-priority metadata locking in SQL Server.

Read More
Six evenly spaced bird feeders on a fence, a flock of sparrows crowding one and a robin alone on another

Local Variable Estimates: Why the Density Vector Wins

June 18, 2018
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Server, SQL Statistics, SQL Variable

Understand local variable estimates with skewed data, density calculations, parameter comparisons, and targeted OPTION RECOMPILE tests.

Read More
Management Studio query window.

SQL SERVER – FIX: Arithmetic Overflow Error in Object Execution Statistics Report in Management Studio

April 6, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

The SSMS Object Execution Statistics report suddenly failed for a client with Msg 8115, arithmetic overflow converting to int. Here is why and what to do.

Read More
A mineral specimen drawer with one sample set aside for individual inspection

How to Drop All the User Created Statistics by SQL Server? – Interview Question of the Week #158

January 28, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server, SQL Statistics

SQL Server creates statistics on its own, but DBAs and the Tuning Advisor add more. Here is a script to drop all user Created Statistics safely.

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

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