CodeIgniter Forums
db based session HEAP tables vs native PHP sessions - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: db based session HEAP tables vs native PHP sessions (/showthread.php?tid=2728)



db based session HEAP tables vs native PHP sessions - El Forum - 08-21-2007

[eluser]Iksander[/eluser]
Anybody have experience with MySQL HEAP tables for db sessions vs native php session handling?

I like the cleanliness of db tables - but the overhead of writing/reading from disk every time a user hits my site is unappealing; HEAP tables are the obvious route (with a MyISAM table periodically backing up the HEAP table) for this - but, if native PHP sessions are significantly faster; I may just use that instead.