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
Ink spot illustration of an opened letter lying flat with a brass letter opener across one corner and a glass inkwell beside it.

The SQL Advisor: Seven Answers, All Measured

October 19, 2026
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Developer, SQL Server

The SQL Advisor answers seven letters with measurements instead of opinions. Table variables, what each index costs on insert, shrinking after a big delete, SELECT star, ORDER BY in a view, heaps, and whether the order of your WHERE predicates matters.

Read More
Profile card for PAGEIOLATCH_SH. Blamed for slow disks. Actually means the query is waiting for a page read to finish. Caused by scattered reads on a cold cache. What to do: look at the access pattern before you blame the storage.

Know Your Wait Types: Six Profiles, All Induced

October 16, 2026
Pinal Dave
SQL Performance
Best Practices, Developer, SQL Performance, SQL Server

I caused six wait types on purpose, one at a time, and measured each one for a single session. What each is blamed for, what it actually means, and the numbers it produced on SQL Server 2025. Wait types are the most misread figures in the product.

Read More
Cutaway illustration of a factory line from IN to OUT, a dozen small hand cranked stations, and one station carrying an enormous chrome motor lettered NEW MOTOR.

AI Productivity Gains Went Up and Nothing Shipped Faster

October 13, 2026
Pinal Dave
AI
AI, Best Practices, Developer, DevOps, Software Development

AI productivity gains went up on every dashboard, and the release notes are the same length as last year’s. Writing code was never the constraint. Speed up one station and you get a taller pile in front of the station that is. Here is how to time your own line.

Read More
Painted illustration of an empty meeting room, chairs pushed back from the table, one glowing laptop and a cold cup of coffee, with an old sprint plan still on the whiteboard and DO NOT ERASE written in the corner.

Tribal Knowledge: Nobody Left to Ask

October 12, 2026
Pinal Dave
AI
AI, Best Practices, Database, Developer

Tribal knowledge is the part of the job nobody writes down, and it leaves when the person leaves. I sat with a team that could not tell me whether they were allowed to change four lines of billing code. The assistant at the end of the table had read every line and could not say why those lines were there.

Read More
Painting of five identical filing cabinets floating in dark space. Four are cold and sealed, one glows from a half-open drawer, and a brass plaque in front reads WHICH ONE IS REAL.

Text to SQL: The SQL Was Never the Hard Part

October 9, 2026
Pinal Dave
AI
AI, Best Practices, Database, Developer

Text to SQL works now, on real schemas, with joins and window functions. I watched three companies hand it to their business users, and all three quietly stopped. The SQL was never the hard part. The hard part is knowing which table is real and which meaning of the word you meant.

Read More
Diagram titled One row, one DELETE, five places it still lives. The left panel lists the row alive: a 284 byte log record before the commit, an address at 1 colon 392 colon 0, a checkpoint writing the page, and a backup copying it out. The right panel lists what remains after the delete: the ghost record still 184 bytes, log records, the statistics histogram that names the row, deallocated pages, and every backup.

The Migration of a Row: Tagged, Followed, Found Again

September 21, 2026
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Developer, SQL Server

I followed the migration of a row through SQL Server 2025, from the first write to the grave. The log gets there before the table. The delete does not erase anything. And when the table is empty and the ghost is gone, the statistics histogram still names the row in full.

Read More
A glossy office reception under a huge AI FIRST banner, where the receptionist has given up on the terminal and is running a finger down a paper phone directory

Ten AI Phrases We Use Too Often

September 7, 2026
Pinal Dave
AI
Developer

In 2013 I wrote a small list of phrases developers used too often. Twelve years later, here are ten AI phrases I hear every week, and what each one means.

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

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