Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TempDB Transaction log is growing

Status
Not open for further replies.

bessebo

IS-IT--Management
Joined
Jan 19, 2001
Messages
766
Location
US
I've noticed that the transaction log associated with my Tempdb database has been growing and is now almost up to 1GB. Is there a need to truncate the transaction log of this database? I am using Full recovery mode.
 
Quickest way to empty the TEMPDB log file is to stop and restart SQL Server. Every time SQL Server is restarted, it rebuilds TEMPBD based on MODEL.

-SQLBill

Posting advice: FAQ481-4875
 
tempdb can not be put into FULL recovery mode. It should throw an error, if you try. Something else is happening. Do you have procedures that use large-ish temp tables, or long transactions?
 
Thanks for everyone's response. The transaction log actually cleared itself up since I posted this. It is down to 300MB or so now.

Regards,
Bessebo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top