MyBB Community Forums

Full Version: mybb_sessions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

Can I ask how exactly MyBB sessions work? I am familiar with the database structure of mybb_sessions. My question: is the database updated every time a user clicks somewhere on the forum with the time and location? Can this not be too resource heavy?

Thanks,
Jordn
(2015-03-02, 03:45 PM)Jordn Wrote: [ -> ]My question: is the database updated every time a user clicks somewhere on the forum with the time and location?


Yes.

(2015-03-02, 03:45 PM)Jordn Wrote: [ -> ]Can this not be too resource heavy?

No. There are way more resource hungry things than a single simple UPDATE query per page visit.
(2015-03-02, 10:28 PM)Destroy666 Wrote: [ -> ]
(2015-03-02, 03:45 PM)Jordn Wrote: [ -> ]My question: is the database updated every time a user clicks somewhere on the forum with the time and location?


Yes.

(2015-03-02, 03:45 PM)Jordn Wrote: [ -> ]Can this not be too resource heavy?

No. There are way more resource hungry things than a single simple UPDATE query per page visit.

That's all I needed to know. Thanks, Destroy666! Smile
Some people have discussed changing the engine type to memory, but that may not work for large forums with lots of activity.