Topic: Performance Tuning
  • Seven AI Models, One Broken SQL Server. One Fix Quietly Lost 30 Units of Stock. — Okay friends, this week's question: does it actually matter which AI model you ask? I built one hard SQL Server case with three real problems, gave the exact same case file to seven models, and then did the part none of them can do: I ran every fix they suggested in my lab and measured it. Six models fixed the deadlock properly. The seventh fixed it too. No errors anymore. And 30 units of stock quietly disappeared. That one result is the reason I'll never deploy an AI fix I haven't run myself. Here's the setup, the test, the expected vs. measured numbers, and the scorecard. 1. The test environment, command by command Piece What I used Database SQL Server 2022 Developer in Docker, on a 15 GB laptop Cloud models Claude Opus 5.5, Fable 5.2, Sonnet 5.5, Haiku 5.5 (Claude Code sub-agents); GPT-6.2-sol and GPT-5.6-luna (Codex CLI) Local model gemma3:4b in Ollama, CPU only (qwen3:4b and deepseek-r1:8b were stopped, see below) Rule for every model Same case fi...

  • sp_BlitzCache Can Now Ask ChatGPT or Gemini About Your Plans — Hi everybody. A lot of us have sp_BlitzCache in our toolbox already, so this one hits close to home. The February 2026 First Responder Kit added an @AI parameter to it. There are two modes. @AI = 2 builds a prompt for you that you copy into whatever AI tool you like, and that works on any SQL Server, Azure SQL DB or Amazon RDS. @AI = 1 calls ChatGPT or Google Gemini directly and brings the advice back, and that one needs SQL Server 2025 or Azure SQL DB. I love the copy-paste mode because you see exactly what you're about to share. The direct mode is more convenient, but stop for a minute before you run it on production. Query text and plans can carry literal values, customer names, sometimes worse, and they'd be leaving your server for an outside API. Check that with your security people first, and read the advice the way you'd read a junior's suggestion: probably useful, never applied blind. Read the original: Updated First Responder Kit and Consultant Toolkit for ...