what is the main difference between myisam and innodb?
Monday, June 15, 2009 5:34Posted in category MySql Interview Questions
No Comments
both myisam and innodb are storange enginein sql. innodb support transaction, foreign key while myisam not support transaction.Other differences are : 1. innodb requires more RAM than mysiam 2. myisam relies on OS for caching while innodb caches with in the engine itself. 3. Most preffered is innodb because - Transaction safe -It has commit, rollback, and crash recovery capabailities - Innodb is designed for maximum performance when processing large volumes of data.InnoDB: Row level locking, Transaction support, forgin key constrant and crash recovery. MyISAM: Much more conservate approach to disk space management each MyISAM table store in a separate file. in MyISAM memory and space usage, full text indexing support, table based locking, bulk insert capabilities and speed are plus factor but crushes recovery would be the horror story. As general approach, if you have a more reads use MyISAM and if you have a more update use InnoDB.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.


