Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Programming > Database Development
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2005, 12:06 PM
Junior Member
 
Join Date: Aug 2005
Posts: 5
Default myisam

When i create my databases i use myisam as the type but im not really sure why as someone had told me before that this is the best option to choose. What is the benefit to using this and how does it differ from the other types?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-05-2005, 12:49 PM
Member
 
Join Date: Aug 2005
Posts: 88
Default

The two main database types to select from for MySQL are MyISAM or INNO DB.

The main differences are MyISAM allows for MySQL specific features like FULLTEXT searching which some people find very useful. You can also easily back up and other things with MyISAM.

INNO DB on the other hand does row level locking instead of table level locking like MyISAM tables do. So if you have a site that does a lot of locking and gets a lot of traffic INNO DB is probably the way to go (Think of applications like phpAdsNew). You lose MySQL specific features though like FULLTEXT searching.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-18-2007, 02:16 PM
BigAlReturns's Avatar
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

InnoDB allows you to use transactions - these ensure data integrity when many users could be accessing the db at one time. This is especially important for organisations like banks etc. (although I don't imagine many of these run on MySQL to be honest!)
For the vast majority of sites, if you use the database correctly then transactions are unnecessary, so I'd usually go with MyISAM, for the advantages of fulltext searching.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:23 PM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.