sharepoint 2010 数据库日志文件SharePoint_Config_log 太大了 36 g 压缩了下 搞到100M


方法:打开SQL Server Management Studio,查询窗口输入命令


USE SharePoint_Config;
GO

-- 将数据库设置为简单恢复模式,
ALTER DATABASE SharePoint_Config
SET RECOVERY SIMPLE;
GO


--压缩为100M
DBCC SHRINKFILE (SharePoint_Config_log, 100);
GO
-- 恢复
ALTER DATABASE SharePoint_Config
SET RECOVERY FULL;
GO




相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-10-06
  • 2022-01-20
猜你喜欢
  • 2021-06-12
  • 2021-09-27
  • 2021-10-07
  • 2021-10-17
  • 2022-02-05
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案