有一台机器sqlserver慢,其它正常,执行一条插入要30ms 正常低于1ms
各位大侠 有什么办法能够确认慢在哪里么
开启了 下面选项观察,慢在SQL Server Execution Times,机器配置很高 16G内存 2.4G 四核CPU
go
SET SHOWPLAN_ALL off
go
SET STATISTICS TIME ON
go
SET STATISTICS IO on
go
declare @i int
set @i = 1
while @i < 1000
begin
INSERT INTO test VALUES (5555)
set @i = @i + 1
print @i
end