What is the difference between InnoDB and MyIsam

Answer Posted / sanjoy ganguly

* The big difference between MySQL Table Type MyISAM and
InnoDB is that InnoDB supports transaction
* InnoDB supports some newer features: Transactions,
row-level locking, foreign keys
* InnoDB is for high volume, high performance

Most people use MyISAM if they need speed and InnoDB for
data integrity. You can use more than one or any combination
of these table types in your database. Remember to asses the
needs of your application before building it. Even though
MyISAM is faster than InnoDB in the MySQL world, InnoDB is
fast compared to any database engine.With InnoDB you get
transactions, speed and integrity three features not usually
used in the same sentence.

InnoDB has been designed for maximum performance when
processing large data volumes. Its CPU efficiency is
probably not matched by any other disk-based relational
database engine.

Fully integrated with MySQL Server, the InnoDB storage
engine maintains its own buffer pool for caching data and
indexes in main memory. InnoDB stores its tables and indexes
in a tablespace, which may consist of several files (or raw
disk partitions). This is different from, for example,
MyISAM tables where each table is stored using separate
files. InnoDB tables can be of any size even on operating
systems where file size is limited to 2GB.

Is This Answer Correct ?    36 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function to count elements in an array in PHP?

627


Explain about looping in PHP?

604


What are the differences between mysqli_connect and mysqli_pconnect?

538


What is the use of extract function in php?

515


Does php 5 support exceptions?

681






How to access a specific character in a string?

502


What does $_env means?

555


How to convert strings to upper or lower cases?

564


Which is the correct way to check if a session has already been started ?

527


How to get the length of string?

577


What is the difference between pop3 IMAP and MAPI?

643


How do you parse and process html/xml in php?

554


Explain mail function in PHP with syntax?

563


How to call a php function from another php file?

508


Which php framework is in demand?

458