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

I get this error when I run certain queries on a large table.

How do I resolve?

asked 01 May '12, 09:25

LostHero's gravatar image

LostHero
89091320
accept rate: 61%


Increase the innodb_buffer_pool_size

innodb_buffer_pool_size defaults to 8MB

Add the following to your /etc/my.cfg

# Defaults to 8MB
innodb_buffer_pool_size=50MB
link

answered 01 May '12, 09:47

Russell%20Ballestrini's gravatar image

Russell Ball...
1.3k232937
accept rate: 43%

edited 01 May '12, 09:47

Thank you, that worked perfectly!

(01 May '12, 09:51) LostHero
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×1
×1
×1
×1

Asked: 01 May '12, 09:25

Seen: 1,675 times

Last updated: 01 May '12, 09:51

powered by OSQA