AM_INDBUILD_ALLOCATION and AM_SCHEMAMGR_UNSHARED_CACHE Wait Types in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: IO_COMPLETION Wait TypeRelated pillar: Performance & Troubleshooting

Two Access Methods waits share this page. Both are documented as internal use only, from SQL Server 2012:

  • AM_INDBUILD_ALLOCATION: waiting for exclusive access to an extent during allocations while building or rebuilding indexes.
  • AM_SCHEMAMGR_UNSHARED_CACHE: waiting for a cache of column attributes, which cannot be shared between partitions, to be initialised.

Are They a Problem?

No. Neither is a known contention point. Get Wait Statistics does not filter them out. AM_INDBUILD_ALLOCATION appears only while indexes are being built, so read it as part of index maintenance rather than a fault.


When They Do Matter

They do not on their own. Slow index builds have better-known causes: sort memory, tempdb, log throughput and parallelism. Work those: build MAXDOP, memory headroom, off-peak scheduling, and SORT_IN_TEMPDB where tempdb is on fast storage. The baseline to monitor is each large index’s build duration.


Where To Go Next

These Access Methods waits are usually small. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *