Forum: Ruby on Rails Active Record Query cache not working

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D340cf8d454f82eddcade05302ea6af3?d=identicon&s=25 Francisco Trindade (frankmt)
on 2009-01-29 21:53
I have a Rails 2.1 app running on MySQl where the ActiveRecord query
cache is not working for some specific expensive queries they have, and
just for those ones, meaning that in
the same controller action another queries are being correctly cached.

The queries are basically doing a SELECT * from a table, and so far the
only specific details for these non-cached queries that we could observe
are
1) They both return a big chunk of text data
2) The tables they are accessing are in a separate legacy database

About the legacy database, it does not differ that much from the new
one, both are MySql servers and they run in the same box.

Has anyone of you experienced similar problems?

Thanks!
Francisco
This topic is locked and can not be replied to.