:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Databases >> MySQL


 Oracle interview questions  Oracle Interview Questions (2040)
 SQL Server interview questions  SQL Server Interview Questions (1080)
 MS Access interview questions  MS Access Interview Questions (25)
 MySQL interview questions  MySQL Interview Questions (194)
 Postgre interview questions  Postgre Interview Questions (6)
 Sybase interview questions  Sybase Interview Questions (22)
 DB Architecture interview questions  DB Architecture Interview Questions (5)
 DB Administration interview questions  DB Administration Interview Questions (213)
 DB Development interview questions  DB Development Interview Questions (53)
 SQL PLSQL interview questions  SQL PLSQL Interview Questions (775)
 Databases AllOther interview questions  Databases AllOther Interview Questions (107)
what are the main differences between MyISAM and InnoDB
table storage structures ? 
what are the advantages and disadvantages in usage of these ?
 Question Submitted By :: MySQL
I also faced this Question!!     Answer Posted By  
# 1
There is foolowing Differences between MYISAM and InnoDB

1)MYISAM does not support the foreign key constraint and
transaction but InnoDB support it.

2)MYISAM is faster then the InnoDB but in case of perforing
the count operation it takes more time then the InnoDB.

3) MYISAM occupies less memory sapce for tables rather than
InnoDB tables.
Is This Answer Correct ?    76 Yes 5 No
Lekhraj Deshmukh
# 2

1.Transactions:MYISAM doesnt support any database
transactions means if the transactions related to large
amount of data transfer it will not provide because memory
is less. But INNODB will provide transactions.

2.Locking:MYISAM provide the table level locking means if
the data in one table has been modified by the other
table ,the entire table will lock for the next process.But
INNODB provide the row level locking only the row of the
table that is being updated is locked.

3.Foreign keys MYISAM tables do not support foreign keys.

4.Data Types:MYISAM provide a full variety of datatypes,but
INNODB will not.
Is This Answer Correct ?    59 Yes 3 No
# 3
innoodb has maximum performance for large databases 
Is This Answer Correct ?    24 Yes 2 No
Zubair Bit
# 4
myisam supports table level locking where as innoodb
supports only row level locking when updated
Is This Answer Correct ?    31 Yes 9 No
Dharma Teja
# 5
this is pretty straightforward, not too technical though:

"MyISAM is of course the default table type i'm MySQL. It's
an improvement over the now-deprecated ISAM table type. It
provides a simple tree structure for quick indexing on small
tables, typicall fewer than 10,000 rows of data.

There are some other types of tables supported in MySQL,
most of which won't provide any noticable differences.

A MERGE table is a table that only exists in memory, and
will not be saved if MySQL crashes or has to be restarted.
It is, as the name suggests, a merge of two (or more)
tables. If you drop a MERGE table, it only drops the
reference to the merge, not to the tables that are combined
in it. It's not good for much!

Another table, the one which is best for huge tables, is
InnoDB. It's probably the best RDBMS out there; it's
actually a whole set of drivers on it's own, and when you
use it, MySQL is really just a wrapper around the InnoDB
table. Slashdot and other megamammoth sites out there use
it, it's fast and effecient, but the trees are pretty large,
so it's not good for smaller tables.

There are a few others.. like BerkeleyDB, which isn't
anything special and doesn't provide any major performance

The major difference between the various table types are the
data tree structures and how they're handled within the RDBMS.

In the end, you'll probably find yourself sticking to MyISAM
unless you're on a very large-scale project, in which cas
eyou probably woudln't use MySQL anyway =D"
Is This Answer Correct ?    29 Yes 12 No
# 6
MyISAM : it is an engine and faster and occupy the less
space so not good enough for large transaction, also not
support the foreign key concept, it provide the table level
locking mean any change in the will be available as modified
table next time.

innoDB : It is also an engine and slow in comparison the
MyISAM engine, but good enough for large transaction, also
provide the row level locking mean updation is fast. Useful
Is This Answer Correct ?    16 Yes 1 No
Narendra Sharma
# 7
MyIsam provide full text search which is not supported by
Is This Answer Correct ?    20 Yes 8 No
Chalbal Jha
# 8
innodb is acid engine 
Is This Answer Correct ?    14 Yes 3 No
Dharma Teja
# 9
MyISAM don't take more space comparision to the INNODB in mysql 
Is This Answer Correct ?    4 Yes 1 No
# 10
it supports online backups 
Is This Answer Correct ?    7 Yes 15 No
Sharath Bit

Other MySQL Interview Questions
  Question Asked @ Answers
What is the difference between mysql_connect() and mysql_pconnect()? TCS 7
How many tables will create when we create table, what are they?   5
How do you control the max size of a HEAP table?   1
how fastest access of data can be done from database ?   3
What are the other commands to know the structure of table using MySQL commands except explain command? SigmaTree 2
Explain advantages of InnoDB over MyISAM?   1
SQL: 1. Write a queryto retrieve the author who was published a book at the youngest age? 2. write a query to retrieve the no. of books published a each year in various languages? 3. write a query to retrieve no. of books published by them only those authors who have published more than 1 book? 4. write a query to retrieve who has not published any books during the year 2006? 5. write a query to retrieve the authors who has published any books during the birth date write this query in 2 ways 1)joins 2)sub query 6. write a query to retrieve all the books which was published during jan 2007 & title containing India or published in the language hindi? 1. table name is liberary managemnt and two column is there one is authors and another one is books . 2.four fields will comes under authours like nationality, birthdate ,first-language,second-language 3.four fields will comes under books like authour,title ,language,publish date to write query using this details Covansys 4
How do you start and stop MySQL on Windows?   3
at first i'm using datediff('d', a.due_date, current_date); but it takes too long to get the result but how can i subtract the current_date - a.due_date and still get the same result like when i use datediff? thank you   1
What are the differences between drop a table and truncate a table?   9
what is JOIN? Give example & types of join? iMedia 13
How many ways we can we find the current date using MySQL?   3
For more MySQL Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::