List:General Discussion« Previous MessageNext Message »
From:Jigal van Hemert Date:January 2 2006 8:10am
Subject:Re: Converting table to InnoDB
View as plain text  
Jonathan Chong wrote:
> I have a table on my forum that's frequently accessing with reads and
> writes. On a busy day, the table is locked when people are posting
> messages and the page hangs when you try to read a topic.
> 
> Is it worth me converting the table to InnoDB, as I've heard that
> InnoDB doesn't lock tables during I/O access.

InnoDB has row-level locking (i.e. it basically only locks the rows that 
might be changed by the query). InnoDB is generally speaking a good 
choice in 'high concurrency' situations (many reads and writes at the 
same time); for small read-only or write-only tables InnoDB is usually 
slower than MyISAM.

In your situation it might solve the locking problem. Do read the online 
manual carefully since there are a lot of differences between MyISAM and 
InnoDB (the way data is stored, the way indexes are stored, some 
differences in handling statements and functions,etc.)

Regards, Jigal.

Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Thread
Converting table to InnoDBJonathan Chong30 Dec
  • Re: Converting table to InnoDBJigal van Hemert2 Jan