I have a SQL 2005 installation on 2003 sbs pk.2. The templog.ldf file is 581GB. What
is in this file and how can I reduce the size? I know nothing about SQL.
i found following info while trying to find a solution. Is the following ACCURATE and TRUE, as i would not want to Loose ANY DATA...
The templog.ldf file is the transaction log for the TEMPDB database, and if
it's 37GB, that's an indication something is not correctly configured in
your MSDE installation, or some major activity significantly expanded the
temp database, and it didn't get cleaned up properly.
Since the TEMPDB database is rebuilt everytime the system starts, or the
database server is restarted, I would suggest this remediation:
 Stop the "Update Services" service.
 Stop the MSSQL$WSUS service.
 Delete the tempdb.mdf and templog.ldf files.
 Reboot the server. If you cannot reboot the server, then
[a] Restart the MSSQL$WSUS service.
* Restart the "Update Services" service.
 Continue to monitor the size of the tempdb.mdf and templog.ldf files.
Everything you need for WSUS is at
And, almost everything else is at