(MySql报错)The total number of locks exceeds the lock table size

reason

There are too many data rows for one-time operation, resulting in insufficient memory space for mysql memory, and this error will be reported

plan

After confirming that the production environment can be suspended , find the my.ini file, mine is in

 Open my.ini, modify innodb_buffer_pool_size to 1024M, initially 8M

After saving, open [Service] and find your mysql service item, choose to stop, stop and start again, and the data operation should be satisfied when re-operating mysql.

Be careful not to open too much, the computer can’t stand it, and it’s useless to toss. It’s better to use the limit statement to perform a few more steps to be safe. For maintenance work, stability is slightly higher priority than performance. 

Guess you like

Origin blog.csdn.net/qq_36694133/article/details/129108734