Quantcast
Channel: Latest Questions by aRookieBIdev
Viewing all articles
Browse latest Browse all 76

Transaction Log full Reasons??

$
0
0
Hi , Recently my transaction log in QA environment became full and caused an issue. When I looked in to that I found an issue with a stored procedure.The SP is executed for each Employerid (say a 50 times in a for each loop) and does an insert from Stage table to Maintable. The insert has a Begin Transaction with no commit statement. The no of records processed would be maximum 100. As a next step there is process which reads the data from staging and moves that to Archival table. My understanding is this would cause a deadlock,But is it big enough a problem to crash the transaction log space which is around 4 gb. Thanks, Kannan

Viewing all articles
Browse latest Browse all 76

Trending Articles