Have a 3 node SQL AG. Flip primary form node 1 and 2 every 3 weeks. node 3 is used for Readable secondary for reporting and the such.
The issue is the log file for the database is now over 500GB and no amount of Full backups and transaction log backups frees up the Data space allocated it's like 98% of the log file.
SELECT name, log_reuse_wait_desc FROM sys.databases;
shows:
log_reuse_wait_desc
REPLICATION
How do I get the log files to get down to much smaller size?
The only other thing that seems odd to me is that the AG dashboard shows the seeding mode is manual for the 1st two nodes and automatic for the 3rd.
The system stored procedures for each type of replication are listed in below MS article. Use the appropriate stored procedures, depending on the type of replication that you want to remove. https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/replication/manually-remove-replication
– SeanFromChicago Mar 11 '24 at 22:50