Pinal Dave (@pinaldave) header
Pinal Dave (@pinaldave) profile picture

I am SQL Server Performance Tuning Expert at @SQLAuthority

Joined May 2007
Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)Photo by Pinal Dave (@pinaldave)
SQL Server is changing. AI is changing how we work with databases. I spend my time exploring where the two meet. Here you will find: SQL Server performance tuning Query tuning and troubleshooting Practical AI ideas for DBAs Real-world scripts and demos Lessons from actual performance problems No hype. No fluff. Just practical learning around SQL Server, performance, and AI. Follow if that is your kind of content.
1
1
37
11,219
Same 500,000 orders. Same 90-day revenue report. The AI-designed schema took 7,624 logical reads. The revised one took 3,540. Before you ship an AI-generated table, ask what it will look like in year three. blog.sqlauthority.com/2026/1…
3
11
826
Sunday puzzle: Can you get from S to R on a 6×6 grid? Move one square at a time, up, down, left or right, without crossing a wall. Exactly one route works. See if you can trace it before you peek at the answer. blog.sqlauthority.com/2026/1…
553
A sales feed fails. An AI summary confidently reports that the region had zero sales. Five interview questions on data quality for AI, plus a five-minute exercise you can try on six customer entries. blog.sqlauthority.com/2026/1… #DataQuality #AI
1
1
615
The query was instant. Then Sam asked, "On how many rows?" Ten rows can hide a repeated scan that gets expensive at 40 million. blog.sqlauthority.com/2026/1… #SQLServer #QueryTuning
553
Technical debt used to grow only as fast as people could type. AI removed that limit, and nobody set a credit limit. The code looks clean, passes review and ships. The debt hides in code nobody has read. blog.sqlauthority.com/2026/1… #AI #TechnicalDebt
1
686
Every AI prompt is a small package leaving the building. What is inside it, who can open it, and how do you keep the wrong things at home? Privacy and AI interview questions: blog.sqlauthority.com/2026/1… #AI #DataPrivacy
580
A T-SQL crossword with a real grid and 24 clues. Every answer is a word you have typed, or a word that has typed you. Print it, grab a pencil, argue with a colleague. Answers next week. blog.sqlauthority.com/2026/1… #SQLServer #TSQL
1
647
Is it safe to let Claude near SQL Server production? Yes, as long as production only ever sees Claude's reads. The guardrail is the login, not the prompt. The 7 questions teams ask me before we build the loop: blog.sqlauthority.com/2026/1… #SQLServer #ClaudeAI
2
1
2
969
A bare "Hi" is ringing the doorbell and standing quietly on the porch. Keep the hi. Put your question right after it, before you press send. A greeting is not a conversation, it is a doorbell, so say why you rang. blog.sqlauthority.com/2026/1…
1
667
Sunday puzzle: one pile of overlapping data pages. How many sheets are really there? Count the sheets, not the coloured patches. Answer on the blog: blog.sqlauthority.com/2026/1… #SQLServer #Puzzle
573
AI ran the query in two seconds and every number came back wrong. "It ran" is the weakest test we have. Check one row you know by heart, then check the total against something older. blog.sqlauthority.com/2026/1… #SQLServer #AI
846
A certificate is a photograph of a river. It shows the water on the day you sat the exam. The river didn't stop for the photo. Keep the photograph. Then show people how you swim. blog.sqlauthority.com/2026/1… #SQLServer #Career
4
695
AI is moving at an incredible pace, and things are changing faster than we can fully understand. This is not the time for quick judgments or assumptions. Wait, watch, ask questions, and seek deeper insights before forming opinions. What seems true today may look very different tomorrow.
3
1,013
An AI agent is a new kind of user. It reads, runs queries and acts at machine speed. A prompt that says "never delete anything" is a request. A denied permission is a rule. Part 7 of 10: blog.sqlauthority.com/2026/1… #AI #SQLServer
3
8
955
You can't buy a packet of biscuits without being told what's in it. You can merge 400 lines from a model with no disclosure at all. The biscuits can't drop a table. So I made the label for AI-generated code. blog.sqlauthority.com/2026/1… #AI #SQLServer
850
6:42 on a Friday. I press F5 on a restore. Then I look at the bottom of the window. The server name isn't the test server. Msg 3101 saved me. Forty successful refreshes didn't make me safer. They made me faster. blog.sqlauthority.com/2026/1… #SQLServer
4
807
Your query has a horoscope. Open the actual plan. Find the operator with the thickest arrow going into it. That's your sign. Key Lookup, the Twins: this month you'll be blamed for a decision someone else made at compile time. blog.sqlauthority.com/2026/1… #SQLServer
1
2
735
Two arrangements of the same pieces on the same grid. One of them has a white square missing. Nothing was removed. So where did the gap come from? Sunday puzzle, answer on the blog: blog.sqlauthority.com/2026/1… #SQLServer #Puzzle
629