关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

微软SQL server 2005 数据库清理日志SQL命令方法

发布时间:2021-01-24 15:23:38

长时间的使用数据库的日志文件会越来越大。
dump transaction 数据库名称 with no_log 

backup log 数据库名称 with no_log 
dbcc shrinkdatabase(数据库名称) 

注意该命令只能在2005的版本上使用。

600d20545e9df.png


/template/Home/Zkeys2/PC/Static