top of page
Search
Kunal Ranpura
Jul 28, 20191 min read
Find Memory Pressure in SQL Server
select * from sysprocesses --if wait type is RESOURCE_SEMAPHORE, it is memory pressure. SELECT * FROM sys.dm_exec_query_resource_semaphor...
10 views0 comments
Kunal Ranpura
Jul 28, 20191 min read
Clean SQL Sever Cache
---Clean SQL Cache DBCC DROPCLEANBUFFERS go DBCC FREEPROCCACHE go DBCC FREESYSTEMCACHE('ALL')
4 views0 comments
Kunal Ranpura
Jul 28, 20191 min read
SQL Server Wait Types
--Find the waittypes select * from sys.dm_os_wait_stats order by wait_time_ms desc --Clear the counter DBCC SQLPERF...
9 views0 comments
Kunal Ranpura
Jul 25, 20191 min read
Query to Identify Lead Blocker in SQL Server
Following query will give you the lead blocker from the blocking chain in SQL Server. SELECT spid ,sp.STATUS ,loginame =...
721 views0 comments
Kunal Ranpura
Jul 25, 20191 min read
Query to Identify SQL Server Bottlenecks
1). select * from sys.sysprocesses where status = 'suspended' and spid >10 and hostname <> 'MonitoringServer' order by blocked desc go...
4 views0 comments
bottom of page