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
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
Gouache painting of a wooden loom with many pale threads and one vermilion thread through the middle

Optimal Value for Max Worker Threads in SQL Server

June 15, 2018
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Server

The optimal value for Max Worker Threads is the default, 0, which tells SQL Server to calculate the limit from the number of logical processors. This post shows how to read the real limit, how the formula works, and which wait and queue counters prove a thread shortage before you change anything.

Read More
SQL SERVER - Performance Comparison IN vs OR

SQL SERVER – Performance Comparison IN vs OR

June 13, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Operator, SQL Server

Which query runs faster, one with IN or one with OR? Here is my performance comparison IN vs OR on AdventureWorks, and both turn out equal.

Read More
Illustrated cover: Implicit Conversion

SQL SERVER – How to Fix CONVERT_IMPLICIT Warnings?

June 11, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

CONVERT_IMPLICIT warnings are one of the most common performance issues I find in health checks. Here is how to find them in your queries and how to fix them.

Read More
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
Gouache painting of a long wooden boat hull in a yard with a vermilion-handled hammer on a plank

DBCC CHECKDB Running Slow? Check the MAXDOP Option

May 10, 2018
Pinal Dave
SQL Performance
MAXDOP, SQL Scripts, SQL Server, SQL Server DBCC

DBCC CHECKDB running slow can trace back to the MAXDOP option. A CHECKDB with no MAXDOP option uses the server’s max degree of parallelism, and one with its own option overrides it. This post times CHECKDB on a 2 GB database with four settings, adds PHYSICAL_ONLY, and lists the other causes to rule out.

Read More
No tool window, query, execution plan, error dialog, diagram, or chart shown.

Azure – Which One to Get – Standard Disks or Premium Disks

May 9, 2018
Pinal Dave
SQL Performance
Disk, SQL Azure, SQL Server

Many customers get a slower SQL Server after moving to Azure. Should you pick Standard or Premium Disks? My short answer is Premium, and here is why.

Read More
Previous 1 … 48 49 50 51 52 53 54 … 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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