摘要: 直接执行下面的SQL语句,: --1.清空日志dump tran dbname with no_log --2.截断事务日志:backup log dbname with no_log --3.收缩数据库文件(如果不压缩,数据库的文件不会减小)dbcc shrinkdatabase(dbname) 执行过后看看日志文件是不是很小了,我一般都只有1M了。 阅读全文
posted @ 2013-02-17 09:16 天纯蓝 阅读(286) 评论(0) 推荐(0) 编辑