April 4, 2025

 Query to get top 30 high CPU quriesSELECT TOP 30    DB_NAME(st.dbid) AS 'Database Name',    SERVERPROPERTY('ServerName') AS 'Server Name',    s.session_id AS 'Sessi...

 https://blogs.msdn.microsoft.com/docast/2017/07/30/sql-high-cpu-troubleshooting-checklist/Email::: Microsoft findingsBelow queries were used on siebeldb database high CPU issue to findout which ...

   USE masterGOIF OBJECT_ID ('sp_hexadecimal') IS NOT NULL  DROP PROCEDURE sp_hexadecimalGOCREATE PROCEDURE sp_hexadecimal    @binvalue varbinary(256),    @hexv...

 Percentage queryuse master;SELECT r.session_id,r.command,CONVERT(NUMERIC(6,2),r.percent_complete) AS ,CONVERT(VARCHAR(20),DATEADD(ms,r.estimated_completion_time,GetDate()),20) AS , CON...

 SELECT , s.database_id,COUNT(l.database_id) AS 'VLF Count',SUM(vlf_size_mb) AS 'VLF Size (MB)',SUM(CAST(vlf_active AS INT)) AS 'Active VLF',SUM(vlf_active*vlf_size_mb) AS 'Active VLF Size (MB)',...

Author Name

Contact Form

Name

Email *

Message *

Powered by Blogger.