quering an external oracle db in rails application -


I have a website that uses a MySQL database for the whole operation but for a new need I need to get an external The Oracle database will be asked (used by another component) and list of items in a list of websites. How is it possible to connect to an external database just to present a single page?

And it is possible to cache the results asked for one month and get an updated list of items before invalidating the cache. I do not want external Oracle DB queries for each request.

Why not a monthly job that just copies the data from the Oracle database into a MySQL database?


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -