MySitesOnline

Active Member
Mar 24, 2003
27
0
151
Hi,

Doing a review of our my.cnf file and just wondered what your thoughts where on the "default_storage_engine" should be set to (general hosting server). Do you think it would be best myisam or innodb?

Thanks
 

Veeble-Adam

Active Member
May 7, 2013
43
0
6
cPanel Access Level
Root Administrator
Some facts you may need to consider before changing the storage engine:

1. InnoDB has many more features and is a bit more complicated than MyISAM. As such, InnoDB uses more system resources (such as RAM) than MyISAM.
2. InnoDB is better for write-intensive websites, those sites that heavily utilize inserts and updates. MyISAM is better suited for read-intensive sites, those that heavily use select.
3. As InnoDB supports transactions, it is better suited for situations in which data and backups are essential, such as with banking applications.
4. Crash recovery should be easier with MyISAM.

I would recommend you to use MyISAM unless you have a requirement to use InnoDB and you know how to handle it.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Some facts you may need to consider before changing the storage engine:

1. InnoDB has many more features and is a bit more complicated than MyISAM. As such, InnoDB uses more system resources (such as RAM) than MyISAM.
2. InnoDB is better for write-intensive websites, those sites that heavily utilize inserts and updates. MyISAM is better suited for read-intensive sites, those that heavily use select.
3. As InnoDB supports transactions, it is better suited for situations in which data and backups are essential, such as with banking applications.
4. Crash recovery should be easier with MyISAM.

I would recommend you to use MyISAM unless you have a requirement to use InnoDB and you know how to handle it.

Might be nice to quote the source of those considerations I think:
/http://www.inmotionhosting.com/support/website/databases/storage-engines-innodb-and-myisam