Tag: Execution Plans
-
Parameter Sniffing in SQL Server: A Measured Example, Not Just the Theory
Parameter sniffing is SQL Server doing exactly what it’s supposed to do: compiling a query plan based on the actual parameter value passed in the first time it runs, then reusing that plan for later calls. That’s normally the right behavior, a plan built for the real value is usually better than a generic one.…
Written by
Blog Categories
- Backups & Recovery (7)
- DBA Scripts (130)
- High Availability (HA) (7)
- Installation & Configuration (14)
- Maintenance (4)
- Monitoring (13)
- Performance Tuning (11)
- Security (Encryption & Permissions) (4)
- T-SQL Fundamentals (11)
- Troubleshooting (20)
- Wait Types (235)
Latest Posts
- DBA Scripts: Run a Full SQL Server Health Check
- Diagnose SQL Server’s ‘String or Binary Data Would Be Truncated’ Error
- Shrinking a SQL Server Database Causes Fragmentation: Measured, Not Just Stated
- DBCC CHECKDB Found Corruption: What to Actually Do Next
- Parameter Sniffing in SQL Server: A Measured Example, Not Just the Theory
- Table Variables vs Temp Tables in SQL Server: What the Optimizer Actually Sees
Blog Tags
Access (3) Always On Availability Groups (4) Auditing (7) Backups (6) Blocking (4) Blocking Locking (6) Collectors (7) Database Backups & Recovery (8) Database Backups and Recovery (5) Database Maintenance (7) DBA Tools (24) Disk Space (5) Extended Events (8) Features (6) High Availability (6) Indexes (7) Installation (7) Instance (3) Inventory (8) Maintenance (7) Migration (15) Monitoring (27) Performance (21) Performance Troubleshooting (9) PowerShell (4) Query Behaviour (5) Security (9) SQL Agent (5) SQL Scripts (17) SQL Server Administration (10) SQL Server Configuration (7) SQL Server Errors (5) SQL Server High Availability (4) SQL Server Internals (3) SQL Server Management Studio (SSMS) (6) SQL Server Monitoring (7) SQL Server Networking (9) SQL Server Security (7) Storage and Capacity (7) T-SQL (10) Temp DB (3) Tracing (7) Transaction Logs (4) Troubleshooting (24) Windows Server (4)