Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Default Storage Engine

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

  1. MySitesOnline

    MySitesOnline Active Member

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

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    i would suggest to leave it on MyISAM, most web apps works fine with it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice