为什么这条语句表会被锁?
資深大佬 : cirton 10
insert into a 表 select * from b 表 where not exists ( select 1 from c 表 where …. );
执行这条语句,发现 c 表 被锁了?
为什么一张查询的关联表会被锁呢?
数据引擎是 innodb
大佬有話說 (3)
insert into a 表 select * from b 表 where not exists ( select 1 from c 表 where …. );
执行这条语句,发现 c 表 被锁了?
为什么一张查询的关联表会被锁呢?
数据引擎是 innodb