Do you have indices on session table? 3,5s is strange (too slow)

2009/6/25 Sylvain <[email protected]>

>
> Hi all,
> I'm using intensively active scaffold in my web site.
> I figured out that the web pages were very long to come. Using Rack-
> Bug, I figured out that the problem was retrieving the sessions var
> from the DB (it took 3,5s to retrieve them) and most of them were for
> activescaffold.
> I'm using a lot conditions and constraint with a large number of ID
> (my DB hase more than 100K objects) and all of them where in the
> session store of the DB (that's why it's so long).
> Is there a way to avoid that (except launching regularly rake
> db:sessions:clear) because it's very annoying?
> Shall I use another session store?
> >
>


-- 
Regards,

Gabriel Sobrinho
E-mail: [email protected]
Phone: +55 31 8775 8378

Don't print this e-mail. The nature is thankful and your money also.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to