摘要:
老外提问: Hi, I have an sql query which takes 8 seconds in the first run. The next run there after takes 0.5 seconds and all consecutive runs take 0.5 sec 阅读全文
posted @ 2017-07-10 19:19
PowerCoder
阅读(9056)
评论(0)
推荐(1)
摘要:
提问: 如果使用TransactionScope开启一个分布式事务,使用该事务两个并发的连接会互相死锁吗? 回答: #1:分布式事务中的两个数据库连接内部就是两个独立的事务,始终不存在真正的“一个事务有两个连接”,两个事务锁定冲突很正常啊。 #2:以上情况,其实对于数据库来讲, 是2个不同的进程. 阅读全文
posted @ 2017-07-10 10:49
PowerCoder
阅读(1384)
评论(0)
推荐(0)