Mysql 常见问题汇总:
2017-03-23 18:41
295 查看
ERROR 1206 (HY000): The total number of locks exceeds the lock table size
解决办法:更改innodb_buffer_pool_size的设置,这个参数定义了InnoDB存储引擎的表数据和索引数据的最大内存缓冲大小。打开Mysql 命令行模式:
解决办法:更改innodb_buffer_pool_size的设置,这个参数定义了InnoDB存储引擎的表数据和索引数据的最大内存缓冲大小。打开Mysql 命令行模式:
mysql> show variables like "innodb_buffer_pool_size"; +-------------------------+------------+ | Variable_name | Value | +-------------------------+------------+ | innodb_buffer_pool_size | 8388608 | +-------------------------+------------+ # 默认可用内存为8MB,将其改为2GB mysql> set global innodb_buffer_pool_size = 2147483648; Query OK, 0 rows affected (0.02 sec) # 检查设置结果 mysql> show variables like "innodb_buffer_pool_size"; +-------------------------+------------+ | Variable_name | Value | +-------------------------+------------+ | innodb_buffer_pool_size | 2147483648 | +-------------------------+------------+ 1 row in set, 1 warning (0.01 sec)
相关文章推荐
- MySQL常见问题汇总(原创)
- mysql几个常见问题汇总
- python链接mysql常见问题汇总
- MySQL常见问题与常用语句汇总
- python mysql 常见问题汇总
- MySQL常见问题汇总
- JDBC连接Mysql常见问题汇总
- mysql常见故障问题汇总
- mysql在查询中常见问题汇总
- MySQL-->基础知识-->MySQL 常见 问题汇总
- Mysql-5.7.14使用常见问题汇总
- Mysql 常见问题汇总
- MySQL常见问题汇总(修改密码/远程权限)
- python链接mysql常见问题汇总
- Mysql实战常见问题汇总
- Mysql 5.7.14 使用常见问题汇总(推荐)
- mysql 常见问题汇总
- mysql进阶(十六)常见问题汇总
- python链接mysql常见问题汇总
- 初学者必读 MySQL 数据库常见问题汇总