Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
1.24/5 (3 votes)
See more:
While trying to delete a table in a database 'xxx' following error occurs.

"The transaction log for database 'xxx' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases"
Posted
Updated 9-Sep-19 4:50am

Hopefully this helps another user. Anyways, this occurred in our systems because backups were not running and the log file was configured with a maximum size limit. We adjusted the size limit to "unlimited" and this resolved the issue. Then, once the backup jobs were running successfully, the size of the file also went back to normal.
 
Share this answer
 
so, what is your question ? use a tool or manually do what it says - look at the log_reuse_wait_desc column in sys.databases
 
Share this answer
 
Comments
Jörgen Andersson 17-Nov-14 15:55pm    
Or save less XXX in the database. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900