gpt4 book ai didi

sql-server - SQL Profiler 中持续时间列的测量单位

转载 作者:行者123 更新时间:2023-12-01 19:09:49 24 4
gpt4 key购买 nike

SQL Profiler 中“持续时间”列的单位是什么?我认为它是毫秒,但在下面的 Profiler 行中我发现它与开始和结束时间相矛盾:

spid=163    
duration=11310646
starttime=2010-04-06 17:45:24.480
endtime=2010-04-06 17:45:35.790
reads=152
writes=2
cpu=16
eventclass=12
textdata= DELETE FROM dbo.[Icon] WHERE Id = 20087

仅供引用,我使用的是 SQL Server 2008。

最佳答案

我找到了答案here 。它说

In SQL Server 2005 and later, the SQL Server Profiler graphical user interface displays the Duration column in milliseconds by default, but when a trace is saved to either a file or a database table, the Duration column value is written in microseconds

我在将跟踪文件保存到数据库后观看了它们。

关于sql-server - SQL Profiler 中持续时间列的测量单位,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2590304/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com