MYSQL碰到The total number of locks exceeds the lock table size 问题解决记录

解决记录如下:
  在mysql里面进行修改操作时提示:The total number of locks exceeds the lock table size ,通过百度搜到innodb_buffer_pool_size过小;
  打开mysql 命令框 输入 show variables like "%tmp%";

  查看innodb_buffer_pool_size,输入SET GLOBAL innodb_buffer_pool_size=67108864;

  完成之后再次使用show variables like "%tmp%";查询,如下图。(这里不需要重启mysql服务,我这边重启之后size会还原大小还得再次修改)
  

如上操作后,发现还是不行,然后联系DBA发现给我的账号没有权限,修改权限之后OK.

原文地址:https://www.cnblogs.com/XinruiIIiiiii/p/12108631.html

时间: 2024-11-04 09:43:59

MYSQL碰到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"的解决方法

step1:查看 1.1 Mysql命令行里输入"show engines:"查看innoddb数据引擎状态, 1.2 show variables "%_buffer%"里查看innodb_buffer_pool_size的数值,默认是8M(太小,需要改大一点!) step2:找配置文件,修改innodb_buffer_pool_size=64M 2.1 在linux里配置文件是my.cnf,windows里是my.ini(注:不是my-default.ini).

Mysql_解决The total number of locks exceeds the lock table size错误

在操作mysql数据库表时出现以下错误. 网上google搜索相关问题,发现一位外国牛人这么解释: If you're running an operation on a large number of rows within a table that uses the InnoDB storage engine, you might see this error: ERROR 1206 (HY000): The total number of locks exceeds the lock ta

The total number of locks exceeds the lock table s

InnoDB表执行大批量数据的更新,插入,删除操作时会出现这个问题,需要调整InnoDB全局的innodb_buffer_pool_size的值来解决这个问题 SHOW GLOBAL VARIABLES LIKE "%buffer_pool%" 可以通过编辑/etc/my.cnf,添加下面的语句来修改缓存大小: innodb_buffer_pool_size = 2G

POJ 1351 Number of Locks (记忆化搜索 状态压缩)

Number of Locks Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 1161   Accepted: 571 Description In certain factory a kind of spring locks is manufactured. There are n slots (1 < n < 17, n is a natural number.) for each lock. The height

【POJ 1351】Number of Locks

Number of Locks Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 1198   Accepted: 589 Description In certain factory a kind of spring locks is manufactured. There are n slots (1 < n < 17, n is a natural number.) for each lock. The height

CareerCup Facebook Total number of substring palindrome

Write a function for retrieving the total number of substring palindromes. For example the input is 'abba' then the possible palindromes= a, b, b, a, bb, abba So the result is 6. Updated at 11/11/2013: After the interview I got know that the O(n^3) s

Total Number of Unicorn Companies: 188

https://www.cbinsights.com/research-unicorn-companies Total Number of Unicorn Companies: 188 Total Cumulative Valuation: $647B tions) The Unicorn Company List Company Valuation ($B) Date Joined Country Industry Select Investors Decolar $1 3/10/2015 A

total number of hops

If you can hop 1, 2, or 3 steps at a time, calculate the total number of possible combinations for `n` steps. I thought of it as follows, let S(n) be the # of combinationsto go n stepsa) to go n+3 is the S(n+2) + the hop with distance 1 b) to go n+3

[Daily Coding Problem] Find the total number of solutions of a linear equation of n variables

Given a linear equation of n variables, find the total number of non-negative integer solutions of it. All coefficients are positive. Example: input: x + 2 * y = 5 output: 3,  the 3 possible integer solutions are x = 1, y = 2; x = 3, y = 1; x = 5, y