File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1- -- Compile Date: 09/05 /2025 16:18:35 UTC
1+ -- Compile Date: 09/08 /2025 12:37:28 UTC
22SET ANSI_NULLS ON;
33SET ANSI_PADDING ON;
44SET ANSI_WARNINGS ON;
@@ -23428,7 +23428,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2342823428 @server_uptime_hours =
2342923429 DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0
2343023430 FROM sys.dm_os_wait_stats AS osw
23431- CROSS JOIN sys.dm_os_sys_info AS osi;
23431+ CROSS JOIN sys.dm_os_sys_info AS osi
23432+ GROUP BY
23433+ DATEDIFF(SECOND, osi.sqlserver_start_time, GETDATE()) / 3600.0;
2343223434
2343323435 SET @pagelatch_ratio_to_uptime =
2343423436 @pagelatch_wait_hours / NULLIF(@server_uptime_hours, 0) * 100;
Original file line number Diff line number Diff line change @@ -2005,7 +2005,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20052005 DATEDIFF (SECOND, osi .sqlserver_start_time , GETDATE ()) / 3600 .0
20062006 FROM sys .dm_os_wait_stats AS osw
20072007 CROSS JOIN sys .dm_os_sys_info AS osi
2008- GROUP BY
2008+ GROUP BY
20092009 DATEDIFF (SECOND, osi .sqlserver_start_time , GETDATE ()) / 3600 .0 ;
20102010
20112011 SET @pagelatch_ratio_to_uptime =
You can’t perform that action at this time.
0 commit comments