Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

SQL Server 2008R2 - Transaction getting log full in simple update statment

$
0
0

I am facing strange issue while performing simple Update statment on one table having 5cr. records as

Update Table Set Is_Deleted=0

is failed after say 2hrs with below error.

Msg 9002, Level 17, State 4, Line 1
The transaction log for database 'MyDB' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

Current transaction log file is limited to 20GB. I also tried to set it unrestircted but not able to do so.

Any idea?


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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