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 waffle iron making identical waffles beside a stack of uneven pancakes

Forced Parameterization: When It Cuts CPU and When It Hurts

April 17, 2015
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL CPU, SQL Performance, SQL Server

Test forced parameterization against ad hoc compile pressure with query_hash counts, compilations per second, CPU, and parameter sensitivity.

Read More
Soap slicing wire beside many thin bars and a few thick bars

Reads per Execution: Ranking Queries by Average I/O

January 31, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Monitoring, SQL Performance

The query with the most total reads is not always the one to tune first. Here is how to rank by cost per call and read the spread.

Read More
A hand picking the three ripest red strawberries from each plant along a garden row

Top N per Group: Three Ways and Which Is Fastest

January 29, 2015
Pinal Dave
SQL Performance
Execution Plan, Ranking Functions, SQL Performance, SQL Server, SQL Top

Compare top N per group with ROW_NUMBER, APPLY and a correlated subquery, define tie behavior, and measure plans with a supporting index.

Read More
A small boat entering a harbor alone while two tugboats, one red, guide a large ship and a third waits idle

Cost Threshold for Parallelism and MAXDOP: Setting Both Together

January 16, 2015
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Performance, SQL Server, SQL Server Configuration

Review cost threshold for parallelism with MAXDOP, inspect NUMA layout and settings, then measure plans and waits after changes.

Read More
Coal shovels beside an outdoor coal pile and an indoor bucket

Physical Reads per Query: Finding What Drives Disk I/O

December 12, 2014
Pinal Dave
SQL Tips and Tricks
Disk, SQL DMV, SQL Performance

The storage team asks which query hit the disks. Here is how to answer with physical reads, and why the answer depends on how you rank them.

Read More
A hand checking the soil of one red window box on a tall apartment building

Azure SQL Database Wait Stats: Reading sys.dm_db_wait_stats

November 4, 2014
Pinal Dave
SQL Performance
SQL Azure, SQL DMV, SQL Performance, SQL Wait Stats

Read Azure SQL Database wait stats with sys.dm_db_wait_stats, identify log-rate governance, and compare resource percentages before scaling.

Read More
A row of kitchen cupboard doors, one knob worn to bare brass and the paint around it rubbed pale.

Finding Hot Tables With sys.dm_db_index_usage_stats

October 7, 2014
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Lock, SQL Performance, SQL Server

Identify hot tables with index usage, lock and latch counters, table sizes, and retained snapshots that describe a real workload interval.

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

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