Viewing 15 posts - 16 through 30 (of 42 total)
1 way of fetching high cpu queries
-- top 10 queries by worker time
SELECT TOP 10
[qs].[last_worker_time],
[qs].[max_worker_time],
[qs].[total_worker_time],
[qs].[execution_count],
stmt_start = [qs].[statement_start_offset],
stmt_end = [qs].[statement_end_offset],
[qt].[dbid],
[qt].[objectid],
SUBSTRING([qt].[text], [qs].[statement_start_offset] / 2,
(CASE WHEN [qs].[statement_end_offset] = -1
THEN LEN(CONVERT(NVARCHAR(MAX), [qt].[text])) * 2
ELSE...
May 24, 2022 at 7:02 am
Thanks Jeff for those pointers. I am basically checking for an extended event trace definition file to track these numbers.
I never used sp_blitz and not sure how it will behave...
May 23, 2022 at 10:51 am
Checking on what columns should be of interest if we create some sort of trace.
May 22, 2022 at 12:35 pm
Anyone has any perfmon.msc file to measure how busy is my sql server?
May 22, 2022 at 12:25 pm
Hi David,
You mean to say, I/O and CPU goes hand in hand?
May 22, 2022 at 12:24 pm
How to identify if it is M.A.R.S and disable it?
May 22, 2022 at 12:21 pm
I want to consider "Backup Size GB" and "DeltaNormal" columns and calculate percentage.
I know the formula (difference/old_or_prev_val)*100.0 but I am stuck I am stuck how to compare the previous row...
May 19, 2022 at 7:40 am
Hi Jeffrey,
Thanks for the explaination.
Is there a DMV or a way to confirm that redo is happening ?
-Bob
March 6, 2021 at 2:58 pm
Hi All,
Thanks for sharing your inputs. Some observations before we resolved the issue.
The log_reuse_wait_desc was initially showing "Active_Transaction". Then we had to check with the application team and saw some...
March 5, 2021 at 9:49 am
Is there a proper way of capturing sql stmts which are causing the log file to grow abnormally ?
March 4, 2021 at 12:12 pm
No backups are written to these drives.
What is the right way of what is causing these I/O warnings and what needs to be captured or monitored?
February 11, 2021 at 10:43 am
Thanks Michael. After sql restart, the database went to Recovery pending state and we were able to drop the database.
February 3, 2021 at 10:04 am
Viewing 15 posts - 16 through 30 (of 42 total)