What is the difference between InnoDB and MyIsam



What is the difference between InnoDB and MyIsam..

Answer / 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

More PHP Interview Questions

What is new keyword in php?

0 Answers  


I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable

0 Answers  


How come the code works, but does not for two-dimensional array of mine?

0 Answers  


What is the basic function to search files for lines (or other units of text) that contain a pattern.

0 Answers  


Tell me which programming language does php resemble to?

0 Answers  






Can you specify the "new line" character in single-quoted strings?

0 Answers  


Why json is used in php?

0 Answers  


Why delimiter is used in mysql?

0 Answers  


Are there regular expressions in php?

0 Answers  


Which is better get or post method?

0 Answers  


Which is faster for or foreach?

0 Answers  


Write a program to show the joining of two strings in php?

0 Answers  


Categories