解决 ERROR 1206 (HY000): The total number of locks exceeds the lock table size
可先使用explan查看可能有问题的select语句
explain显示了mysql如何使用索引来处理select语句以及连接表。可以帮助选择更好的索引和写出更优化的查询语句。
2.使用force index(idname)指定要使用的索引,提升性能。
insert into t_pre_nex (word, pre_nex, nature)
(select word, 'pre', ...
原创
2019-07-23 11:43:22 ·
700 阅读 ·
0 评论