Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Cannot Trace what is running sys.sp_spaceused

$
0
0

Hi,

Need some help to figure out how and who is running the SP exec sp_spaceused @updateusage = 'TRUE' .

Iam in a situation that the Sp exec sp_spaceused @updateusage = 'TRUE' is  run by program 'OSQL-32'   very frequently on the production server   which is causing blocking. I am trying to figure out how this is  triggered at the first place  so that i can stop it or move it to a different time interval.

When I run SP_who2 Iam presented with Info.From which i know that the program that is running this Query is  OSQL-32 

SPID              398  
Status           SUSPENDED                    
Login            NT AUTHORITY\SYSTEM
HostName     DAT1 
BlkBy            .
DBName      Data32
Command       DBCC
ProgramName OSQL-32    Can some one please help me on how to track who is running this OSQL .Thanks Jack.                    



Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>