ERROR 1206 (HY000): The total number of locks exceeds the lock table size

Good evening,
Im trying to insert a lot of records into a database, but keep getting the error message:-
ERROR 1206 (HY000): The total number of locks exceeds the lock table size

Im the only one using the database so dont really need locks, and its in design phase at the moment, is there a way to switch off locking in MySQL???
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad WasifCommented:
You may fix the issue by adjusting innodb_buffer_pool_size and restart MySQL. By default, this is set to only 8MB, which is too small for anyone who is using InnoDB to do anything OR reduce the amount of rows you're manipulating in one query.

tonelm54Author Commented:
What table can I use which doesnt use record locks?
Muhammad WasifCommented:
There are different storage engines in MySQL. You may use MyISAM if you don't need InnoDB features.

You should read about MyISAM and InnoDB first and then decide which way to go. Here is a comparison of both.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.