sql server 查看io资源使用
USE AdventureWorks2022;
GO
SET STATISTICS IO ON;
GO
SELECT *
FROM Production.ProductCostHistory
WHERE StandardCost < 500.00;
GO
SET STATISTICS IO OFF;
GO
如果输出physical reads 或者 read-ahead reads 大于0 ,则表示有物理读取
参考:
SET STATISTICS IO (Transact-SQL) - SQL Server | Microsoft Learn
原文地址:https://blog.csdn.net/woshilys/article/details/143746414
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!