A system, method and computer program for integrating a database and a data warehouse are disclosed. A request intended to be run on the database is received. If the request would benefit from a service provided by the data warehouse, data necessary to fulfill the request is transferred from the database to the data warehouse and the request is submitted to the data warehouse. Otherwise, the request is submitted to the database.