insert into … select 会导致死锁问题

insert into A select * from B

加锁规则是:A表锁,B逐步锁(扫描一个锁一个)。

原文地址:https://www.cnblogs.com/torchstar/p/14708508.html