Resolves an issue that opens SQL Server SQL always on Group transaction log increase

Source: Internet
Author: User

After AlwaysOn is configured, because there is no use of the full recovery model, the simple or bulk-logged mode is not available, so the log is growing and cannot be emptied using the change recovery mode

Manual operation shrinking or truncating the log is also invalid

After reading some articles, it was found that someone used

Primary instance out of availability group-modified to Simple recovery model-Modify back to full recovery model-full backup-add back to availability Group-restore secondary replica (note with NoRECOVERY)-Restart synchronization

This is feasible, but it is too troublesome, for us to increase the daily 70GB log files, the operation is too frequent

Perhaps I am not familiar with SQL Server, in fact, as long as "backup preferences" (availability groups, right-click, properties,) on the specified DB instance "Backup transaction log" to back up and truncate the transaction log

For a database with a high transaction log growth as long as a maintenance plan is established, regular backup of the transaction log can be a few minutes to one hours

Reference:

Https://social.microsoft.com/Forums/ar-SA/9aee33e8-46a7-4c6c-bda8-9141f6f954be/sql-2012-always-on-group-?forum =sqlserverzhchs

Why a full backup cannot truncate the transaction log http://www.cnblogs.com/i6first/p/3704700.html

Resolves an issue that opens SQL Server SQL always on Group transaction log increase

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.