Alex Rivera | Logout

Which MySQL database engine is better for storing sessions and session data: MyISAM or InnoDB?

Asked 2010-07-29T04:01:30.117
9

Pretty straightforward question.

I use InnoDB for everything else, for a couple of reasons. Is it a performance hit over MyISAM for a 'high-traffic' table?

Edit
Report

1 Answer

10

Since you're looking at a pretty even mix of read/write traffic, InnoDB is the better choice. MyISAM's full-table locks on every write would probably be murder. MyISAM fairs better with 90%+ read or 90%+ write situations.

I believe that's mentioned in High Performance MySQL

answered 2010-07-29T04:15:11.283

Your Answer