Mike Tougeron
Well-known member
Why is the xf_session table MyISAM instead of InnoDB? When there is a large number of sessions the XenForo_Session::deleteExpiredSessions() that runs in the XenForo_CronEntry_CleanUp::runHourlyCleanUp() blocks other session inserts/updates since it locks the entire table to do the delete. This can then have a cascading impact on the performance of the page.
I was thinking of changing it to InnoDB but I wanted to make sure there wasn't a reason for it before I did.
Thanks, Mike
I was thinking of changing it to InnoDB but I wanted to make sure there wasn't a reason for it before I did.
Thanks, Mike