It's pretty much just how you said it.  MyISAM tables (the default mysql table type) 
do not support foreign key constraints.  InnoDB tables do support them.
 
Here is a breakdown of the pros and cons of each as I see it (others please feel free 
to tell me I've got it all wrong :)).
 
MyISAM pros:
1)fast
2)default
3)smaller disk footprint
 
MyISAM cons:
1)Table level locking creates poor performance in high concurrency situations
2)No foreign key constraints
3)No transation support
 
InnoDB pros:
1)Transactions
2)Row level locking for good performance in high concurrency situations
3)Foreign Key Contstraints
 
InnoDB cons:
1)Higher disk footprint
2)Slightly slower in non high concurrency situations due to transaction overhead key 
constraint checking etc
 
I've had a very positive experience with using InnoDB tables in a production 
environment with a several gigabyte database.
 
John McCaskey

________________________________

From: GH [mailto:[EMAIL PROTECTED]
Sent: Sat 10/9/2004 5:29 PM
To: [EMAIL PROTECTED]
Subject: Diffrences in table types



(SORRY FOR THE BLANK MESSAGE WRONG BUTTON PUSHED)

Greetings:

   I am trying to create referential intergrity...  I was reading that
mySql does not support that on the Database Level and that you have to
do it manually.


  However i am now seeing some posts that talk about it... i.e.
Foreign Keys and such... with INNODB

  can someone please fill me in

Thanks

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to