4

I have a MyISAM table as I work with MATCH AGAINST and I have a select query which locks the entire table. Why does it happen?

Here is some output:

enter image description here

Pentium10
  • 204,586
  • 122
  • 423
  • 502

2 Answers2

2

I believe this question, Any way to select without causing locking in MySQL? may help you out. It appears to be locking because it's a MyISAM table.

Community
  • 1
  • 1
Drazisil
  • 3,070
  • 4
  • 33
  • 53
1

MyISAM is "table level locking", meaning that the table can handle only one query at the time. So, as @Drazisil told, you have few options: optimize your query to reduce locking problem - stop using MySQL plain text feature (which is very poor performance) - split your big query into smaller queries - improve your indexes OR switch to innodb which is "row level locking"

benfromaix
  • 105
  • 1
  • 3
  • 9