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 small seaplane moored at a lake jetty at dawn, a hand holding the mooring line before untying it

Pre-Flight Checks at the Top of a Script With THROW

July 8, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Learn pre-flight checks with practical SQL Server examples, clear checks, and the limits you need before changing application data.

Read More
Two file jars travel from a crowded shelf to a shelf with more room after inspection

Interview Question of the Week #027 – Move TempDB from One Drive to Another Drive When Low Disk Space

July 5, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Scripts, SQL Server, SQL TempDB

Diagnose low disk pressure in tempdb before moving files, inspect transaction and allocation usage, and plan a verified Windows restart.

Read More
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
Previous 1 … 27 28 29 30 31 32 33 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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