The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Default Storage Engine

Discussion in 'Database Discussions' started by MySitesOnline, Apr 24, 2013.

  1. MySitesOnline

    MySitesOnline Active Member

    Joined:
    Mar 24, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    i would suggest to leave it on MyISAM, most web apps works fine with it.
     
  3. Veeble-Adam

    Veeble-Adam Active Member

    Joined:
    May 7, 2013
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    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.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

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

    Veeble-Adam Active Member

    Joined:
    May 7, 2013
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Sure! Will do that next time. Thanks for pointing out.

    Hope it helped the needy.
     
Loading...

Share This Page