MYSQL hit The total number of locks exceeds the lock table size problem-solving record

Solution recorded as follows:
  prompt mysql modification operations in which: The total number of locks exceeds the lock table size, search through Baidu innodb_buffer_pool_size too small;
  open command frame input mysql show variables like "% tmp%" ;

  View innodb_buffer_pool_size, enter SET GLOBAL innodb_buffer_pool_size = 67108864;

  After completion of the re-use show variables like "% tmp%"; the query, as shown below. (There is no need to restart the mysql service, my side after the restart size reduction will have to modify the size again)
  

 

After the above operation, or not found, then contact the DBA to find my account does not have permission, OK then modify permissions.

Guess you like

Origin www.cnblogs.com/XinruiIIiiiii/p/12108631.html