Step1.将DB脱离可用性组 Step2.修改为简单恢复模式>收缩文件>修改回完整恢复模式 -- Truncate the log by changing the database recovery model to SIMPLE. ALTER DATABASE [DB] SET RECOVERY SIMPLE; GO -- Shrink the truncated log file to 1 MB. ); GO -- Reset the database recovery model. A…