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 glossy magazine quiz page with tick boxes, a pencil resting across it, coffee ring in the corner.

Is Your Database Ready for AI? Take the Quiz

December 1, 2026
Pinal Dave
AI
AI, Data Quality Services, SQL Documentation, SQL Performance

Is your database ready for AI? Twelve questions, one point each, and four results at the end. Be honest. Nobody’s watching, and the model will find out anyway.

Read More
A scientific diagram with fourteen small circles arranged along a horizontal axis labelled ratio on a log scale, hollow circles on the left, filled circles on the right, and a shaded band between ninety thousand and a hundred and twenty thousand.

Parameter Sensitive Plan Optimization: When Does It Fire?

November 30, 2026
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Performance, SQL Scripts, SQL Statistics

Parameter Sensitive Plan optimization is the feature that was supposed to end parameter sniffing. Compile one plan for the small customer, another for the giant, and dispatch each call to the right one.

Read More
Cardinal Rules, a three panel cartoon by SQLAuthority. Sam asks why the server is crawling the day after Thanksgiving. The red bird says it cooks the whole dinner again every time the doorbell rings. Sam says reuse the plan and the bird says it now makes two dinners.

AI Made the Server Cook Thanksgiving Twice

November 28, 2026
Pinal Dave
AI
AI, Parameter Sniffing, Recompile, SQL Performance

AI made the server cook the entire holiday dinner again every time one person rang the doorbell. Then it helpfully made two dinners.

Read More
A hand drawn guidebook map with four regions labelled version store, temp table quarter, spill district and allocation office, with a small compass rose.

tempdb: A Traveller’s Guide to Four Regions

November 27, 2026
Pinal Dave
SQL Performance
SQL Memory, SQL Performance, SQL Scripts, SQL TempDB, Transaction Log

tempdb, written up the way a guidebook writes up a country most people only visit when something has gone wrong. Four regions, how to get there, what it costs, dangers and annoyances, and when to go. Every figure was measured on SQL Server 2025 during the trip.

Read More
Five identical test rigs on a laboratory bench, each holding a printed query, photographed in the flat even light of a product test.

Paging in SQL Server: Five Methods, Tested Like for Like

November 25, 2026
Pinal Dave
SQL Performance
Execution Plan, SQL Cursor, SQL Paging, SQL Performance, SQL Scripts

Paging in SQL Server, done five ways against the same 1,200,000 rows, the same sort, and the same page size. Every completed method produced the same checksum at each depth, which checks consistency without proving row-by-row equality. Then I counted the reads.

Read More
A rural town sign says POP. 4,212 with GIVE OR TAKE underneath, illustrating an approximate row count.

The Fastest Way to Count Rows in SQL Server: I Asked Ten DBAs

November 24, 2026
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server

The fastest way to count rows in SQL Server depends on your goal. Compare COUNT, narrow indexes, and approximate metadata counts.

Read More
Cardinal Rules, a three panel cartoon by SQLAuthority. The red bird says it tested the query and it was instant. Sam asks on how many rows and the bird says ten. The production counter reads forty million and the bird says ten rows agree with everybody.

AI Tested It on Ten Rows and Called It Fast

November 21, 2026
Pinal Dave
AI
AI, Execution Plan, SQL Performance, Testing

AI tested it on ten rows, timed it, and called it lightning. Production has forty million rows and a different opinion.

Read More
1 2 3 4 … 55 Next
  • Books
  • Testimonials
  • Privacy Policy

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