Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Create Procedure sys.sp_MSget_repl_Commands in running status for hours.

$
0
0

We have  a database on SQL Server 2012 r2 replicating to another database in the same machine. We were doing some table changes so I am not sure if we messed anything. Our CPU has been close to 100%.

When I run this query 

SELECT sqltext.TEXT,
req.session_id,
req.status,
req.command,
req.cpu_time,
req.total_elapsed_time
FROM sys.dm_exec_requests req
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext
order by total_elapsed_time desc 

I see that total_elapsed_time = 22278963 and cpu_time = 1360

Is this normal? 


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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