--压缩LDF档
USE VoucherServer;
GO
-- Truncate the log by changing the database recovery model to SIMPLE.
ALTER DATABASE VoucherServer
SET RECOVERY SIMPLE;
GO
-- Shrink the truncated log file to 1 MB.
DBCC SHRINKFILE (VoucherServer_Log, 1);
GO
-- Reset the database recovery model.
ALTER DATABASE VoucherServer
SET RECOVERY FULL;
GO
相关文章
- 03-23压缩LDF档
- 03-23hdoj1074--Doing Homework (DP 状态压缩)
- 03-23python – Tuple在任务中解压缩
- 03-23python – 如何将单个元素和元组压缩成一个元组?
- 03-23蒙德里安的梦想(状态压缩DP)
- 03-23常见的压缩命令
- 03-23compress/uncompress压缩文件一个小知识
- 03-23POJ Corn Fields 状态压缩DP基础题
- 03-23【Python】zlib压缩文件
- 03-23大数据-压缩解压操作