Is It a Problem?
Not on any current version, because it does not exist there. Microsoft lists it as internal use only and applying to SQL Server 2008 R2 only. Get Wait Statistics does not filter it out, so if it ranks, you will see it.
What It Means
From the name, a reader-writer lock around lazily populated metadata caches. MD_LAZYCACHE_RWLOCK is also documented, internal use only, from SQL Server 2012. One listed for 2008 R2 only and the other from 2012 suggests it took over the same job, though Microsoft does not say so. On our SQL Server 2025 lab, MD_LAZYCACHE_RWLOCK exists and was zero.
When It Does Matter
Only if you are reading wait data from a SQL Server 2008 R2 instance, or from old captured output. Note the version, and plan the upgrade.
Where To Go Next
METADATA_LAZYCACHE_RWLOCK belongs to SQL Server 2008 R2. If you are chasing a real problem, start with the waits that cost you time.
- The waits that usually matter, ranked, with what each one is telling you.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply