> Just for curiosity sake, I have an index on [viewer_id, viewer_type, > content_id]
Maybe, you want to include the rate in the index as well? That way, everything is in the index, and I would presume, MYSQL will not have to access the table at all. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

