Forum: Ruby on Rails Active Record Query cache not working

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Francisco T. (Guest)
on 2009-01-29 22: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
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?

This topic is locked and can not be replied to.