July 17, 2015 at 5:36 pm
Hi
One of our SQL servers ran out of disk space and we received an error stating that the transaction log file was full for one of our Sharepoint content databases. I tried to detach the databases but the detach failed with an error stating again that the transaction log file was full and there was no disk space on the server (currently only 8.6MB!!!). I am in the process of copying the mdf and the ldf files to another SQL sever running the same version of SQL, will I be able to simply attach this database to the new server or will there be an issue with the database being in a mode that wont allow it to be attached like a dirty shut down mode similar to Exchange when the databases wont mount.
I would appreciate any assistance with this as I will have angry users shouting soon!
Thanks
Peter
July 18, 2015 at 1:14 am
Peter19898 (7/17/2015)
HiOne of our SQL servers ran out of disk space and we received an error stating that the transaction log file was full for one of our Sharepoint content databases. I tried to detach the databases but the detach failed with an error stating again that the transaction log file was full and there was no disk space on the server (currently only 8.6MB!!!). I am in the process of copying the mdf and the ldf files to another SQL sever running the same version of SQL, will I be able to simply attach this database to the new server or will there be an issue with the database being in a mode that wont allow it to be attached like a dirty shut down mode similar to Exchange when the databases wont mount.
I would appreciate any assistance with this as I will have angry users shouting soon!
Thanks
Peter
Quick thought, do you have any disk space where you can temporarily add a log file for that db?
😎
July 18, 2015 at 1:51 pm
Providing you have both the mdf and the ldf, it should be fine. Attaching just the mdf will fail.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2015 at 6:42 pm
Peter19898 (7/17/2015)
HiOne of our SQL servers ran out of disk space and we received an error stating that the transaction log file was full for one of our Sharepoint content databases. I tried to detach the databases but the detach failed with an error stating again that the transaction log file was full and there was no disk space on the server (currently only 8.6MB!!!). I am in the process of copying the mdf and the ldf files to another SQL sever running the same version of SQL, will I be able to simply attach this database to the new server or will there be an issue with the database being in a mode that wont allow it to be attached like a dirty shut down mode similar to Exchange when the databases wont mount.
I would appreciate any assistance with this as I will have angry users shouting soon!
Thanks
Peter
Are you doing regular log file backups?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2015 at 3:02 am
please go through this below link it will help much to you
http://stackoverflow.com/questions/56628/how-do-you-clear-the-sql-server-transaction-log
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply