February 27, 2012

Which MySQL storage engine will be better in my situation

Question by Mukesh Kumar

I have to develop a big application, a School management system; which MySQL storage engine will be better? MyIsam or InnoDB or any other?

Answer by Starx

InnoDb Support Relationships and MyISAM does not. If your application require this features, you should use InnoDB.
Other major differences includes:

  • InnoDB is newer while MyISAM is older.
  • InnoDB is more complex while MyISAM is simpler.
  • InnoDB is more strict in data integrity while MyISAM is loose.
  • InnoDB implements row-level lock for inserting and updating while MyISAM implements table-level lock.
  • InnoDB has transactions while MyISAM does not.
  • InnoDB has foreign keys and relationship contraints while MyISAM does not.
  • InnoDB has better crash recovery while MyISAM is poor at recovering data integrity at system crashes.
  • MyISAM has full-text search index while InnoDB has not.

By Yang Yang source

See this question and find out yourself, which fits better in the situation.

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!