• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DBSession becoming slow

#1
[eluser]ACSparks[/eluser]
We use the DBSession library to manage the user session and extra data in our database in the ci_sessions table. When the table grows to around 60 thousand rows we see random slow queries when performing INSERT and UPDATE statements on the ci_sessions table. These slow queries also show up in the MySQL slow query log.

What can we do to improve performance of this table? Keep the entire table in memory? Unfortunately, the slow queries do not happen on every page load, and we haven't been able to figure out a pattern yet.

We also tried changing from an InnoDB table to MyISAM, but that didn't seem to change anything Sad

Any insight or suggestions would be much appreciated! Thanks!


Messages In This Thread
DBSession becoming slow - by El Forum - 02-18-2009, 05:07 PM
DBSession becoming slow - by El Forum - 02-19-2009, 03:05 AM
DBSession becoming slow - by El Forum - 02-19-2009, 03:35 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.