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

Replication agent Query timeout expired after Replication database transaction log was full

$
0
0

Hi All,

I setup a transaction replication between 2 SQL servers, unfortunately I forgot to schedule log backup on reporting DB which was in full recovery mode. so we got The transaction log for replication database full error one day later.  After I found the issue, I scheduled log backup job and log file size was back to normal. but it seemed replication was hung. I can see action messages in distributor to subscriber history are:

1. starting agent

2. initializing

3. the process is running and it waiting for a response from the server

4. Query timeout expired. 

It repeated these actions again and again. Then I changed distribution agents and log reader agents timeout from default 1800 seconds to 3600 seconds, restarted SQL agent, but it still did not work. I did inserted a tracer tokens, it took 4 seconds from publisher to distributor, but took forever from distributor to subscriber.

Please help.

Thanks

David


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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