Quantcast
Channel: User sonicbhoc - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 7

Comment by sonicbhoc on Asynchronous database inserts from C# always result in a deadlock

$
0
0
Thank you for mentioning the isolation level! I never changed it and I don't know what the default is, but because you did I did some google searching. I just learned that bulk copy operations block queries running under SNAPSHOT, READ COMMITTED, and READ UNCOMMITTED with row versioning isolation levels. Something tells me that the issue was actually with the default being one of these. I changed it to REPEATABLE READ and it can load all 3 documents into the database at once now. I'm having issues with the transaction ignoring the timeout value I set now, though...

Viewing all articles
Browse latest Browse all 7

Trending Articles



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