简体   繁体   English

由于“ACTIVE_TRANSACTION”,数据库“tempdb”的事务日志已满

[英]Transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION

I tried to shrink the log file but it only did small amount of free space.我试图缩小日志文件,但它只做了少量的可用空间。

The log space of tempdb is full due to the data file.由于数据文件,tempdb 的日志空间已满。 How can I free the space?如何释放空间?

Edit:编辑:

I have checked following: 1. Bad queries are running - NO Queries are running我检查了以下内容: 1. 错误查询正在运行 - 没有查询正在运行

  1. DBCC OPENTRAN - No Result DBCC OPENTRAN - 无结果

  2. The tempdb is in SIMPLE recovery mode. tempdb 处于简单恢复模式。

  3. I have a separate drive for Transaction log of 1TB ie 40% free now.我有一个单独的驱动器来存储 1TB 的事务日志,即现在 40% 是免费的。

Observation: When I Right click on tempdb>task>shrink>database shows 99% free space available.观察:当我Right click on tempdb>task>shrink>database显示 99% 的可用空间可用。 Can I shrink the database file here?我可以在这里缩小数据库文件吗?

重新启动 SQL 实例将刷新 tempdb 并重新创建它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 由于“ACTIVE_TRANSACTION”,数据库“tempdb”的事务日志已满 - The transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION' 由于“ ACTIVE_TRANSACTION”,数据库“ tempdb”的事务日志已满 - the transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION MS SQL 日志大小不够或“由于 'active_transaction',数据库的事务日志已满”。 - MS SQL log size is not enough or "the transaction log for database is full due to 'active_transaction'." 数据库“ tempdb”的事务日志已满 - The transaction log for database 'tempdb' is full 数据库“ tempdb”的事务日志已满:但是仍然创建了表吗? - Transaction log for database 'tempdb' is full: but Table created anyway? '由于'活动事务',数据库的事务日志已满 - 无法备份、放大、截断或收缩 - 'The Transaction Log for database is full due to 'Active Transaction' - Unable to Backup, Enlarge, Truncate, or Shrink 由于活动事务,SQL Server 日志已满 - SQL Server Log full due to active transaction 由于“CHECKPOINT”,数据库“master”的事务日志已满 - The transaction log for database 'master' is full due to 'CHECKPOINT' “由于'LOG_BACKUP',数据库的事务日志已满”在共享主机中 - “The transaction log for database is full due to 'LOG_BACKUP'” in a shared host 由于“LOG_BACKUP”,数据库的事务日志已满 - The transaction log for database is full due to 'LOG_BACKUP'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM