Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait

$
0
0
Every time I get this error, at different points of testing inserts and deletions on my table:

The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

Why do I keep getting this?  All I'm doing is deleting several hundred thousand records and inserting them into a couple of tables.  i shouldn't have to truncate my log every time or my application bombs out!

sys.databases only gives me this info for log_reuse_wait_desc which does nothing for me:

LOG_BACKUP

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>