SQL Server Science
Technical Articles for the DBA / Developer
Home » SQL Server 2025

LCK_M_SCH_A and LCK_M_SCH_C: New Lock Wait Types in SQL Server 2025

2026-10-07 · by Hannah Vernon · in Internals

SQL Server 2025 adds LCK_M_SCH_A and LCK_M_SCH_C wait types. I checked the wait list, XE maps, Microsoft docs and local wait stats.

SQL Server 2025 Added 10 Configuration Options, and One Appeared After RTM

2026-10-06 · by Hannah Vernon · in Internals

I checked the SQL Server 2025 configuration options added after SQL Server 2022 against sys.configurations and Microsoft Learn.

I Could Not Find Documentation for Most of What SQL Server 2025 Added

2026-10-05 · by Hannah Vernon · in Internals

I diffed the SQL Server 2022 and 2025 system catalogs and checked 294 new items against Microsoft Learn. I found no documentation for 258.

Scalar UDFs vs Inline TVFs: Measuring the Damage

2026-07-27 · by Hannah Vernon · in performance

Scalar user-defined functions are the most natural thing in the world to write. You have a bit of logic, you wrap it in a function, you call it in your SELECT list, and your query…

Finding Eager Index Spools in the Plan Cache

2026-07-23 · by Hannah Vernon · in performance

Somewhere in your plan cache right now, there is probably a query quietly building an index every single time it runs. Not once. Every execution. It builds the index, uses it, and throws it away,…

Upgrading Database Compatibility Levels Across a Whole Instance

2026-06-20 · by Hannah Vernon · in configuration

The instance upgrade went perfectly. You moved from SQL Server 2019 to 2022, the installer turned green, the services came back up, and the application connected on the first try. A week later someone asks…

Search

Categories

  • AI for DBAs
  • announcements
    • events
  • basics
    • localization
  • configuration
  • Data Architecture
  • DMVs
  • documentation
  • extended-events
  • Git for DBAs
  • High Availability
  • Hot Takes
  • Internals
  • maintenance
    • patching
  • Opinion
  • performance
  • PostgreSQL
  • Professional Development
  • recovery
  • reporting
  • ROLLBACK;
  • security
    • data security
  • service broker
  • SQL Server Agent
  • statistics
  • sys
  • t-sql
    • xml
  • tools
    • data masking
    • wsus
  • troubleshooting
  • Uncategorized

Pages

  • About SQL Server Science
  • Get Better Help with a Minimal, Complete, and Verifiable Example, or MCVE
  • Privacy Policy

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2026 SQL Server Science