February 25, 2024 at 6:45 am
I was running a SP and I got this. This is the first time I have ever received this. What does it mean? How do I fix it so it doesn't happen again?
Msg 9002, Level 17, State 4, Procedure dbo.Query, Line 223 [Batch Start Line 2]
The transaction log for database 'myDB' is full due to 'ACTIVE_TRANSACTION'.
February 25, 2024 at 8:09 am
and what have you found in google? lots of hits including some in this site
February 25, 2024 at 4:48 pm
I was running a SP and I got this. This is the first time I have ever received this. What does it mean? How do I fix it so it doesn't happen again?
Msg 9002, Level 17, State 4, Procedure dbo.Query, Line 223 [Batch Start Line 2] The transaction log for database 'myDB' is full due to 'ACTIVE_TRANSACTION'.
Usually, it means one of three things...
For problems #2 or #3 above, I've not actually tried it on any database other than TempDB but you could modify the code explained in the following "Erik Darling" article to find out what is causing the growth the next time it happens. Of course, you'll first need to get your logfile down to size first.
https://www.brentozar.com/archive/2015/12/tracking-tempdb-growth-using-extended-events/
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply