Reputation: 41
I was trying to create a table in MySQL, then got error 1206 (total number of locks exceeds lock table size).
I understand I need to increase innodb_buffer_pool_size
. (The current setting is about 100m)
and my dataset is quite large.
The table I intended to create should return more than 1 million rows with lots of textual returns. I am a historian and not very experienced in changing MySQL option files.
Upvotes: 2
Views: 20343
Reputation: 7244
Add this to your config file
innodb_buffer_pool_size=1G
Then restart the mysql service. You should ensure that your logfiles are of minimum 250M.
Since the variable innodb_buffer_pool_size
is of type read-only, you have to set the value in the config file and restart the service.
Edit
Step by Step
Upvotes: 7
Reputation: 942
Download MySQL workbench from MySQL.com, install on the server and it will help you doing edits in the config file
Upvotes: -2