ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MyISAM vs. InnoDB for exp_session table

August 05, 2010 1:44pm

Subscribe [3]
  • #1 / Aug 05, 2010 1:44pm

    paul godfrey

    3 posts

    I’m working on a site getting 30k hits on peak days and I’m worried about the effects of MyISAM doing table level locking on exp_session updates. From a performance perspective, would it be better to set the exp_session table to InnoDB because it only does row level locking? I’m a database noob so I was hoping some EE veterans could shed some light on this. Thanks!

  • #2 / Aug 06, 2010 1:39pm

    paul godfrey

    3 posts

    bumped.

  • #3 / Aug 06, 2010 1:59pm

    Greg Aker

    6022 posts

    To be honest, 30k hits a day isn’t all that much in the grand scheme of a high traffic website.  If you average that over 16 hours, you aren’t looking at 1 hit a second.  Typically, a server will be setup to be optimized for MyISAM or InnoDB, and it’s generally not the best idea to mix them in an application.  I would leave it alone, and look into high-performance hosting with administrators who really know how to tune MySQL before making changes to table storage engines that have been heavily tested in the lifespan of ExpressionEngine 😉

    -greg

  • #4 / Aug 06, 2010 2:42pm

    paul godfrey

    3 posts

    Thanks Greg! We tried to push for EngineHosting but it got shot down. Sounds like the DB isn’t the best place to trim a few milliseconds 😊

  • #5 / Oct 28, 2010 7:07pm

    Ryan 2010

    265 posts

    I have the same question, how about 600,000k day?  I’m looking at those numbers.  We are seriously looking at innodb

    thanks

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases