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
A big beach ball on sound boards beside a small red cannonball that has cracked the plank

Operator Cost Percentages Are Estimates: Read Actual Time Instead

January 26, 2009
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server

Read operator cost percentages as estimates, then use actual rows, elapsed time, IO, and repeated work to find the real bottleneck.

Read More
A weather vane with a red rooster turning with the wind on a barn roof

Rolling Date Ranges Forward Without Hard-Coded Years

January 1, 2009
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL DateTime, SQL Server, SQL Stored Procedure

Replace hard-coded years with indexed date ranges for current periods, full months, year-to-date comparisons, and any requested year.

Read More
Two identical brass compasses on a workbench, one needle pulled aside by a nearby iron vise

Why One Query Has Two Cached Plans: SET Options and plan_attributes

November 8, 2008
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL DMV, SQL Server

Investigate two cached plans with plan_attributes, decode differing SET options, and match application settings before diagnosing skew.

Read More
A cottage window frosted on the lower half, clear above, a red curtain tied back

Sharing an Execution Plan Without Exposing Sensitive Data

October 23, 2008
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Server, SQL Server Security, SQL XML

Protect sensitive data when sharing an execution plan by inspecting XML values, redacting names and literals, and checking the file again.

Read More
A small car towing a heavy caravan slowly up a steep country lane

Trigger Overhead: Measuring the Hidden Cost of DML Triggers

July 5, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Trigger

Measure trigger overhead with controlled inserts, execution plans, and cached trigger statistics before moving slow work into a queue.

Read More
Two picket fence sections meeting at one shared post, one painted vermilion, one cream, with no gap between them.

Filtering on Dates Without Losing the Index

April 17, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL DateTime, SQL Index, SQL Server

Filtering on dates without losing an index means using searchable ranges; learn half-open boundaries, date and datetime differences, and plan checks.

Read More
A hand pressing the slightly soft front tire of a bicycle in a hallway, a floor pump standing nearby.

Reading the Warnings in an Execution Plan

April 12, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Server, SQL Statistics

Warnings in an execution plan can reveal conversions, missing statistics, and spills; read each warning in workload context.

Read More
Previous 1 … 31 32 33 34 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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