(Republishing, or using this info in a commercial product/website, is prohibited without permission. All other uses are permitted. If in doubt, please ask.)
Description:
Just as the description below states. I/O for a database must be paused (using the undocumented DBCC FREEZE_IO command) by an external process that is backing up the database files directly, instead of using the VDI interface to perform a ‘SQL Server’ backup.
(Books Online description: “Occurs when a task is waiting for all outstanding I/O to complete, so that I/O to a file can be frozen for snapshot backup.”)
Questions/comments on this wait type? Click here to send Paul an email, especially if you have any information to add to this topic.
Added in SQL Server version:
Pre-2005/2005
Removed in SQL Server version:
N/A
Extended Events wait_type value:
The map_key value in sys.dm_xe_map_values is 236 in 2008 and 2008 R2, 243 in 2012, and 250 in 2014 RTM. After 2014 RTM, you must check the DMV to get the latest value as some map_key values have changed in later builds.
Other information:
There will be one wait per second, lasting for a second, for each second that the thread has to wait for all outstanding I/Os to complete.
Known occurrences in SQL Server (list number matches call stack list):
- Waiting for all outstanding I/Os to complete (in this case, while executing the undocumented DBCC FREEZE_IO command)
Abbreviated call stacks (list number matches known occurrences list):
- SOS_Task::PostWait+9e
SOS_Task::Sleep+149
DbccFreezeIO+425
DbccCommand::Execute+153
CStmtDbcc::XretExecute+7cd
CMsqlExecContext::ExecuteStmts<1,1>+427
CMsqlExecContext::FExecute+a43
CSQLSource::Execute+86c