事务日志已满 [英] The transaction log is full
本文介绍了事务日志已满的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
数据库数据库"的事务日志已满.要了解为什么无法重用日志中的空间的原因,请参阅sys.databases中的log_reuse_wait_desc列.
由于这个问题,即使我也无法从sql server中删除行
如何解决此问题
The transaction log for database ''Database'' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
Even i cannot delete the rows from sql server, because of this problem
How to solve this problem
推荐答案
使用那些SQL释放日志空间
Use those SQL to free log space
BACKUP LOG [LOGNAME] WITH NO_LOG
DBCC SHRINKFILE ([DBNAME],EMPTYFILE)
并了解有关数据库恢复模型的更多信息
and read more about Database Recovery Models
右键单击数据库名称,然后选择任务"->收缩->数据库和确定"按钮.
祝你好运!
Right click on the database name and select Tasks -> Shrink -> Database and the the OK button.
Good luck!
这篇关于事务日志已满的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文