Skip to content

Commit

Permalink
Merge pull request #311 from erikdarlingdata/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
erikdarlingdata authored Oct 18, 2023
2 parents c5f0116 + 610639f commit 475961f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions sp_HumanEvents/sp_HumanEventsBlockViewer.sql
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ BEGIN
CONVERT(decimal(38, 6), deqs.total_worker_time / 1000. / deqs.execution_count),
total_elapsed_time_ms =
deqs.total_elapsed_time / 1000.,
avg_elapsed_time =
avg_elapsed_time_ms =
CONVERT(decimal(38, 6), deqs.total_elapsed_time / 1000. / deqs.execution_count),
executions_per_second =
ISNULL
Expand Down Expand Up @@ -947,7 +947,7 @@ BEGIN
ap.total_worker_time_ms,
ap.avg_worker_time_ms,
ap.total_elapsed_time_ms,
ap.avg_elapsed_time,
ap.avg_elapsed_time_ms,
ap.total_logical_reads_mb,
ap.total_physical_reads_mb,
ap.total_logical_writes_mb,
Expand Down Expand Up @@ -975,7 +975,7 @@ BEGIN
c.total_worker_time_ms,
c.avg_worker_time_ms,
c.total_elapsed_time_ms,
c.avg_elapsed_time,
c.avg_elapsed_time_ms,
c.executions_per_second,
c.total_physical_reads_mb,
c.total_logical_writes_mb,
Expand Down Expand Up @@ -1673,7 +1673,7 @@ SELECT
ap.total_worker_time_ms,
ap.avg_worker_time_ms,
ap.total_elapsed_time_ms,
ap.avg_elapsed_time,
ap.avg_elapsed_time_ms,
ap.total_logical_reads_mb,
ap.total_physical_reads_mb,
ap.total_logical_writes_mb,
Expand Down Expand Up @@ -1702,7 +1702,7 @@ FROM
c.total_worker_time_ms,
c.avg_worker_time_ms,
c.total_elapsed_time_ms,
c.avg_elapsed_time,
c.avg_elapsed_time_ms,
c.executions_per_second,
c.total_physical_reads_mb,
c.total_logical_writes_mb,
Expand Down
6 changes: 3 additions & 3 deletions sp_LogHunter/sp_LogHunter.sql
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ BEGIN
VALUES
(N'"Microsoft SQL Server"'),
(N'"detected"'),
(N'"SQL Server has encountered"')
(N'"SQL Server has encountered"'),
(N'"Warning: Enterprise Server/CAL license used for this instance"')
) AS x (search_string)
CROSS JOIN
(
Expand Down Expand Up @@ -363,8 +364,7 @@ BEGIN
('Warning ******************'), ('SQL Server should be restarted'), ('Server name is'), ('Could not connect'), ('yielding'), ('worker thread'), ('A new connection was rejected'),
('A significant part of sql server process memory has been paged out'), ('Dispatcher'), ('I/O requests taking longer than'), ('killed'), ('SQL Server could not start'),
('SQL Server cannot start'), ('System Manufacturer:'), ('columnstore'), ('timed out'), ('inconsistent'), ('flushcache'), ('Recovery for availability database'), ('currently busy'),
('The service is experiencing a problem'), ('The service account is'), ('Total Log Writer threads'), ('thread pool'), ('debug'), ('resolving'),
('stack dump'), ('Stack Signature')
('The service is experiencing a problem'), ('The service account is'), ('Total Log Writer threads'), ('thread pool'), ('debug'), ('resolving'), ('stack dump'), ('Stack Signature')
) AS v (search_string)
CROSS JOIN
(
Expand Down

0 comments on commit 475961f

Please sign in to comment.