I execute a query in JDBC
delete * from mytable where ...
I got:
java.sql.SQLException: The total number of locks exceeds the lock table size
I have about 200k records in the table.
how to fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
this can happen when deleting a large # of rows in mysql/innodb, the suggested workaround is to increase your
innodb_buffer_pool_sizeuntil it works.http://bugs.mysql.com/bug.php?id=15667