Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

The transaction log for database 'tempdb' is full

$
0
0

What would cause the tempdb transaction log to grow continuously on sql 2008 r2 (rtm), but not cause the data file to grow?

The max size of both the data file and log file for tempdb are set to 2GB. I had a situation where the tempdb transaction log filled. Space usage in the data file was under 50mb but the logfile was at 2g. I added another 1g so that work could continue while I diagnosed the problem.

DBCC OPENTRAN(tempdb) showed no open transactions, though the tempdblog continued to grow. I queried sys.dm_db_file_space_usage and sys.dm_db_session_space_usage  but could find nothing that would account for more than a few MB is space usage. I probably should have queried sys.databases.log_space_reuse_wait but before I did, the space suddenly freed up on it's own.

What could cause this where the log grows, but nothing has an open transaction on the tempdb?


Chuck


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>