Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Access speed INNODB VS. MyISAM

Access speed INNODB VS. MyISAM

2006-06-04       - By Ware Adams

 Back
Reply:     1     2  

On Jun 3, 2006, at 7:54 PM, Richard wrote:

> I have been using a database for several years that uses many  
> 'lookup' style
> tables. i.e. no updates to these tables. I dumped the whole thing  
> into an INNODB
> database for simplicity, but I now wonder if I can speed things up  
> if I put only
> my updatable tables in INNODB (I need row level locking for these)  
> and put all
> the lookup tables in MyISAM.
>
> The benchmarks I have looked at don't seem to reveal either as a  
> clear winner,
> but I am probably not interpreting them properly.

Probably the only real answer is to benchmark your particular  
application.

That said, for any table that has high frequency writes while others  
are trying to read or write your only option is InnoDB.  Similarly,  
if you want to do a live backup of a large table without shutting off  
write access you have to use InnoDB.

If you are doing simple reads, even at very high volume you'll  
probably find MyISAM as fast or faster.

You can mix and match them in general to get the right performance  
for each table.  There are a few things that InnoDB won't handle  
(fulltext searches, some others) that will require MyISAM, but in  
general they are pretty much complete substitutes.

InnoDB tables do take up more space than MyISAM in general, but other  
than that we've found no real downside to making everything InnoDB  
(other than the fact that the information sources are a little less  
common for InnoDB).

From what you say, it sounds like all InnoDB or InnoDB for the  
tables with write and MyISAM for the others would work for you.

Good luck,
Ware Adams

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)