ALLInterview.com :: 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                      
Google
   
 
Categories >> Software >> Databases >> MySQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions (2038)
 SQL Server interview questions  SQL Server Interview Questions (1078)
 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)
Question
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  
 
Answer
# 1
There is foolowing Differences between MYISAM and InnoDB
ENGINE:-

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
 
Answer
# 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
Prathiba
 
 
 
Answer
# 3
innoodb has maximum performance for large databases 
Is This Answer Correct ?    24 Yes 2 No
Zubair Bit
 
Answer
# 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
 
Answer
# 5
this is pretty straightforward, not too technical though:

http://forums.devarticles.com/general-sql-development-47/difference-between-myisam-and-non-myisam-tables-1745.html

FTA:
"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
increase.

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
Mark
 
Answer
# 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
for BANK SYSTEM.
 
Is This Answer Correct ?    16 Yes 1 No
Narendra Sharma
 
Answer
# 7
MyIsam provide full text search which is not supported by
Innodb
 
Is This Answer Correct ?    20 Yes 8 No
Chalbal Jha
 
Answer
# 8
innodb is acid engine 
Is This Answer Correct ?    14 Yes 3 No
Dharma Teja
 
Answer
# 9
MyISAM don't take more space comparision to the INNODB in mysql 
Is This Answer Correct ?    4 Yes 1 No
Vikas
 
Answer
# 10
it supports online backups 
Is This Answer Correct ?    7 Yes 15 No
Sharath Bit
 

 
 
 
Other MySQL Interview Questions
 
  Question Asked @ Answers
 
If we create a column with data type VARCHAR(3), what would we expect to see in MySQL table? Abc 2
how fastest access of data can be done from database ?   3
How many values can the SET function of MySQL take? Creative-Informatics 2
what is the querry for all managers salary?   2
What is the difference Delete and Drop ?   6
How do you start and stop MySQL on Windows?   3
What are MySQL transactions?   2
What is the maximum length of a table name, a database name, or a field name in MySQL?   4
how many fields can be updated using set in a mysql query?   1
Which storage engines support transactions in MySQL?   2
What does myisamchk do?   1
suppose server is running Suddenly down . what can you do? but i want do not down the server?   3
 
For more MySQL Interview Questions Click Here 
 
 
 
 
 


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

ALLInterview.com   ::  KalAajKal.com