完全备份日志后,SQL Server事务日志不会截断。带有AAG配置的SQLServer2017 [英] SQL Server Transaction log will not truncate after a full backup of the log. SQLServer2017 with AAG configuration

查看:415
本文介绍了完全备份日志后,SQL Server事务日志不会截断。带有AAG配置的SQLServer2017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在完全备份数据库和日志文件两次后,事务日志不会被截断。  在生产数据库中看不到任何打开的事务,但我确实在日志文件中看到了一些。  这是一个永远在线的配置和复制。
 

The transaction log will not truncate after a full back up of database and log file twice.   Do not see any open transactions in the production database but I do see a couple in the log file.   This is an always on configuration and replication.  

推荐答案

在完全备份数据库和日志文件两次后,事务日志不会被截断。  在生产数据库中看不到任何打开的事务,但我确实在日志文件中看到了一些。  这是一个永远在线的配置和复制。
 
The transaction log will not truncate after a full back up of database and log file twice.   Do not see any open transactions in the production database but I do see a couple in the log file.   This is an always on configuration and replication.  

您必须检查 -   log reuse wait desc,等待它的内容。

You have to check - log reuse wait desc, for what it's waiting.

https:// www .brentozar.com / archive / 2016/03 / my-favorite-system-column-log_reuse_wait_desc /

https://www.brentozar.com/archive/2016/03/my-favorite-system-column-log_reuse_wait_desc/


这篇关于完全备份日志后,SQL Server事务日志不会截断。带有AAG配置的SQLServer2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆