|
Hello Experts, my ldf is running out of space,the db is in simple recovery mode... the db size is 1.8 tb, database is not getting shrink,there is one recent open transaction also there are couple of process running on the is db... can you please advise.
(comments are locked)
|
|
If you cannot kill the process (you need to understand what the process is doing and whether it can be killed before simply killing it) then you have the option of increasing the logfile size or adding a new log file based on a different drive if you have no space on the drive currently used. This will only be a stop-gap solution to allow the long running transaction to complete. Once you identify why the transaction was running so long then you can decide on whether the logfile needs to be shrunk again Thanks Jonathan, There is no open transactions. No blockings. Error message : The transaction log for database 'MIBONE' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases...how to do this? I already performed COMMIT and CHECKPOINT . I can not backup log with TRUNCATE ONLY since db is in simple revocery mode. The ldf is growing...can you please help.
Oct 14 '12 at 08:14 AM
pits
What result do you get for the MIBONE database?
Oct 14 '12 at 09:51 AM
Fatherjack ♦♦
How can i see these two active transactions?
Oct 14 '12 at 01:48 PM
pits
So, to see the status for the MIBONE database you need to either select the database name too, or filter on the database name or
Oct 15 '12 at 07:43 AM
Fatherjack ♦♦
Thank you FatherJeck, I can see one active transaction using above statement, but how can i find the spid of the same active transaction? I need to kill the same...is there any athorised command by microsoft to know the spid of that active transaction?i dont see any anything in dbcc opentran.
Oct 16 '12 at 06:26 AM
pits
(comments are locked)
|
|
To find the open transaction, you can use this script, written by Paul Randal: Borrowed from here: http://www.sqlskills.com/blogs/paul/post/Script-open-transactions-with-text-and-plans.aspx
(comments are locked)
|

