Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

innoDB vs myISAM

Status
Not open for further replies.

hedidit

Technical User
Jul 21, 2005
142
GB
Hi, I'm looking at what tables to use in my database and am thinking innodb will be better as it allows foreign keys however I was just wondering how much faster myISAM tables are?

My table will probably have around 500,000 records...

Any thoughts / advice?

Cheers
 
MyISAM is reckoned to be faster than InnoDB, but what the margin is I don't know. Both systems can easily handle 500k records.
 
Thanks for the responses, I'll check out the link in a bit.

Following on, is it wise to store files (pdfs, jpgs etc) in mySQL fields? I'm moving from MS Access where this wasn't a good idea... the mySQL database will back a document management system which, at the moment, stores files in folders on a web server but it'd be better if mySQL could store them?

Thanks again
 
You can store large amounts of binary data of any type in MySQL BLOB-type fields with no problems, though this obviously increases table sizes, which might reduce performance.

Regarding MyISAM versus InnoDB speed, I've no reason to doubt InnoDB's figures, but they are probably being very selective. Any comparisons I've ever seen have placed MyISAM ahead of InnoDB for speed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top