Is It a Problem?
No. It is not reported as a contention point, it is commonly filtered as benign, and Get Wait Statistics filters it out by default.
What It Means
Microsoft describes WAIT_XTP_HOST_WAIT as waits triggered by the database engine and implemented by the host, from SQL Server 2014. The host here is the layer that connects the regular engine to In-Memory OLTP, and the wait is a thread waiting for an In-Memory OLTP operation that the regular engine started. On our SQL Server 2025 lab it had a handful of waits with no memory-optimized tables in use, so a small total does not mean the feature is in use either.
When It Does Matter
It does not. In-Memory OLTP questions have their own views: sys.dm_db_xtp_table_memory_stats for the memory each table uses, and sys.dm_db_xtp_checkpoint_files for checkpoint files. The baseline to monitor is memory-optimized table memory staying within what you planned for the instance.
The XTP Family
These are the In-Memory OLTP (XTP) waits, present on databases with a memory-optimized filegroup. Almost all of them are background checkpoint and housekeeping waits. Memory-optimized tables still write to the transaction log, so the main page for this family is WRITELOG.
- WRITELOGLog flush. Waiting for log records to be written to disk, the log wait that costs users time.The main page for this family
- WAIT_XTP_CKPT_CLOSECheckpoint complete. Waiting for an In-Memory OLTP checkpoint to complete.Usually noise
- WAIT_XTP_HOST_WAITHost waits. Waits triggered by the database engine and implemented by the XTP host.Usually noise. This page.
- WAIT_XTP_OFFLINE_CKPT_NEW_LOGWaiting for log. The offline checkpoint waiting for new log records to scan.Usually noise
- WAIT_XTP_OFFLINE_CKPT_LOG_IOLog read. The offline checkpoint waiting for a log read to complete.Usually noise
- WAIT_XTP_RECOVERYRecovery. Database recovery waiting for memory-optimized objects to recover.Worth a look when it climbs
- WAIT_XTP_TASK_SHUTDOWNThread shutdown. Waiting for an In-Memory OLTP thread to complete.Usually noise
- XTP_PREEMPTIVE_TASKBackground work. Documented as internal use only; In-Memory OLTP background work in preemptive mode.Usually noise
Where To Go Next
WAIT_XTP_HOST_WAIT is In-Memory OLTP background work. 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.
- WRITELOG, the log wait that memory-optimized tables still pay.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply