1 Answer
- Newest
- Most votes
- Most comments
0
as mentioned by you 2 approaches
- EXCLUSIVE_AUTOMATIC _TRUNCATION : I would suggest using the default mode RELY_ON_SQL_SERVER_REPLICATION_AGENT just to make sure we dont run into similar tlog full issues you can setup a sql agent job running continuously but checking after specific interval (say 15 mins or 1 hour) if SQL Server Log Reader Agent is running if not start (and also you check failures if more than 10 instances you could send a email to have it checked) wherein the schedule of this job could be SQL Server Agent starts
- using readbackuponly could be another way but instead of daily backups we need to reduce the frequency to say every hour or every 15 mins.
answered 2 months ago
Relevant content
- Accepted Answerasked 2 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Hi @subhashr, thanks for the reply. Tried the default one: RELY_ON_SQL_SERVER_REPLICATION_AGENT, but we ran into issues with the Log Reader Agent Job, it's not running and we cannot determine the root-cause.
review the error from replication monitor this microsoft article has got some pointers https://learn.microsoft.com/en-us/sql/relational-databases/replication/troubleshoot-tran-repl-errors?view=sql-server-ver16