摘要: SQL Server数据库三种恢复模式:简单恢复模式、完整恢复模式和大容量日志恢复模式介绍 1.Simple 简单恢复模式, Simple模式的旧称叫”Checkpoint with truncate log“,其实这个名字更形象,在Simple模式下,SQL Server会在每次checkpoin 阅读全文
posted @ 2023-10-06 20:40 宋军涛 阅读(163) 评论(0) 推荐(0) 编辑
摘要: ​ 磁盘空间有限,需要收缩日志文件释放空间。 数据库名称上右击属性->文件,逻辑名称日志文件默认名称为“_log”结尾。 ​编辑 alter database 数据库 set recovery simple dbcc shrinkfile('XXX_log',2,truncateonly) alte 阅读全文
posted @ 2023-10-06 20:26 宋军涛 阅读(324) 评论(0) 推荐(0) 编辑