ERROR 1206 (HY000): The total number of locks exceeds the lock table size 错误解决
2007-08-03 17:03
609 查看
错误现象如下:
把 delete 改成 select,再explain一下,发现返回结果高达300多万,于是检查 max_write_lock_count 的值,是 8446744073709551615,肯定够用了。
再看看 innodb_buffer_pool_size,我的天,才设置默认的 8M,该死的。加大到合适的值,重启 mysql,一切ok。
还有一招,就是delete时分成多次,每次用 LIMIT 限定记录数,这样也ok :)
本文出自 “MySQL中文网”博客 http://www.imysql.cn/
本文出自 “爱MySQL” 博客,转载请与作者联系!
mysql> DELETE FROM JHF_CP_SPOT_RATE WHERE FRONT_DATE = '20070801'; ERROR 1206 (HY000): The total number of locks exceeds the lock table size
把 delete 改成 select,再explain一下,发现返回结果高达300多万,于是检查 max_write_lock_count 的值,是 8446744073709551615,肯定够用了。
再看看 innodb_buffer_pool_size,我的天,才设置默认的 8M,该死的。加大到合适的值,重启 mysql,一切ok。
还有一招,就是delete时分成多次,每次用 LIMIT 限定记录数,这样也ok :)
本文出自 “MySQL中文网”博客 http://www.imysql.cn/
本文出自 “爱MySQL” 博客,转载请与作者联系!
相关文章推荐
- ERROR 1206 (HY000): The total number of locks exceeds the lock table size 错误解决
- 【MySQL笔记】mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- mysql报错-ERROR 1206 (HY000)- The total number of locks exceeds the lock table size-的解决方法
- mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- MySql 5.1x InnoDB "ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- ERROR 1206 (HY000): The total number of locks exceeds the lock table size
- mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法
- MySQL5.7解决‘’(1206)The total number of locks exceeds the lock table size‘’问题
- The total number of locks exceeds the lock table size错误
- mysql出现The total number of locks exceeds the lock table size解决办法
- mysql Error:The total number of locks exceeds the lock table size
- mysql The total number of locks exceeds the lock table size
- total number of locks exceeds the lock table size
- MYSQL 遭遇 THE TOTAL NUMBER OF LOCKS EXCEEDS THE LOCK TABLE SIZE
- mysql:The total number of locks exceeds the lock table size
- 异常:java.sql.SQLException: The total number of locks exceeds the lock table size
- .\ethercat.axf: error: L6047U: The size of this image (33488 bytes) exceeds the maximum allowed for
- 完美解决java.lang.OutOfMemoryError: bitmap size exceeds VM budget