Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The transaction log for database 'britco_dbase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases.
This error comes when i take the website,So i chat with the rds server and they clear the log file.At that time it will be solved.But after some days, when we insert new data,then also the same error comes.So how to solve this problem permanently?
Posted
Updated 1-Sep-11 22:30pm
v3

1 solution

Perform regular backups of your database \ TLogs

http://msdn.microsoft.com/en-us/library/ms175495.aspx[^]

http://msdn.microsoft.com/en-us/library/ms179478.aspx[^]

Depending on how many transactions your application is processing (and how much disk space you have etc!) you should be performing regular backups.

If you don't want this level of disaster recovery, you could consider changing your database model to 'Simple'. This means you'd only be able to restore your database to 'last known full backup', rather than point-in-time recovery that regular TLog backups offer. In this case, you should have an automated job that's creating a full db backup (maintenance plan etc)
 
Share this answer
 

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