mysql insert into 表数据800条报错The total number of locks exceeds the lock table size;同样的表 加入where条件一直报错,使用limit可以插入千万条不报错。
【相关推荐】
开发中对一张大表进行批量的更新或者删除的时候 会报以下错误:
The total number of locks exceeds the lock table size
从字面上理解,就是当前操作锁住的总行数已经超过设置的锁表的大小。