1

The next .ldf grew to 50GB, and is eating all the disk… (it is in SIMPLE recovery model) enter image description here

I wanted to be able to roughly answer these questions:

-what’s inside the .ldf? (can I say it is just temp tables?!) -which command or user caused this 50GB to fill up? -potential issues if I force to shrink the file to 10GB.

I do not want this information to blame anyone, but to educate ourselves on the usage.

Amazingly I get this result: enter image description here

Chicago1988
  • 970
  • 3
  • 14
  • 35

1 Answers1

0

Check for uncommitted Transactions by running the below script:

SELECT 
er.session_id
,er.open_transaction_count
FROM sys.dm_exec_requests er

you can use sp_who2 to track down the user.

If you urgently need to free-up space in the Log file - without performing a shrink - take a log-backup.

pacreely
  • 1,881
  • 2
  • 10
  • 16