I'm getting the error below, log file full due to replication
I have hot dbcc sqlperf(logspace) it is showing 100 and it is in Simple recovery model.
I am not able to shrink it.
I am not able to add space.
I am change the recovery model to Full.
Error: The transaction log for database XXXXX is full due to
'REPLICATION'.
I have tried all the possible ways please help, in this regards.
Best Answer
Per the error message, it is holding the data in the log because your database is configured to replicate those changes (via transactional replication) to another database, and for some reason the log reader job hasn't run recently or is experiencing an error.
If you don't know anything about replication, don't touch it, and talk to whoever in your company set this up.
If that person is supposed to be you, I can't teach a whole replication course in a SE comment, but in general your solution will fall into one of the following categories: