1

Sometimes, when there is no load on the server, the size of the MS SQL database tempdb log file (templog.ldf) starts increasing. As a result, the available space on the C drive decreases. To resolve this issue, we need to restart the MS SQL server, after which the problem will be resolved. However, the same issue may repeat after some time when there is no load on the server.

Please suggest why the log file size starts increasing and how to fix this issue.

2
  • You can usually see in select * from sys.databases what prevents log from shrinking. a better alternative is to set max log size. If it's still increasing, it means there's something generating the log data, perhaps there's some sort of "load" after all Commented Jun 7, 2023 at 11:57
  • 1
    See dba.stackexchange.com/questions/271860/… and dba.stackexchange.com/questions/29829/…. You should really consider upgrading: SQL2005 went out of support 7 years ago in 2016 Commented Jun 7, 2023 at 12:59

0

Browse other questions tagged or ask your own question.