0

difference between innodb and myisam

In the recent discussion with Gabriel, discussed about default_storage_engine modification..... There mentioned MyISAM and i have heard about the commonly used one called InnoDB.... So what is the difference and which is the best to use....???

MySQL Add a comment
lucas
asked Feb 07 2017

Answer

0

The major difference is that,

  1. MyISAM can do only table-level locking system whereas InnoDB had row-level locking system.
  2. InnoDB has better crash recovery than MyISAM
  3. InnoDB supports foreign keys & relationship controls.

Though InnoDB is slower when compared to MYISAM, InnoDB is recommended.

MyISAM is faster since it has simple construction and consume lass server resources.

Add a comment
jagannatharumugam
asked Feb 24 2017
edited Oct 05 2018
Post your Answer