sys.dm_io_pending_io_requests可以返回当前IO Pending的状态,对于SQL Server 中每个挂起的I/O 请求,返回与其对应的一行,跟sys.dm_io_virtual_file_stats配合可以看到具体是哪个数据库IO出现问题。 se sys.dm_io_pending_io_requests可以返回当前IO Pending的状态,对于SQL Server
第一种方法: 复制代码 代码如下: Minimsdn.com为您提供的代码: -- Turn ON [Display IO Info when execute SQL] SET STATISTICS IO ON -- Turn OFF [Display IO Info when execute SQL] SET STATISTICS IO OFF Link: http://msdn.micro 第