7. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising: receiving, at the local computing system that comprises an enterprise computing system from a remote computing system that executes a hosted application, one or more configuration tables defining a predefined query scenario for querying and retrieving data from the hosted application for data stored on a database table; replicating a database table from a main database to a secondary database, the main database comprising updated data relative to data contained in the database table of the secondary database, the secondary database comprising an in-memory and the main database comprising a magnetic memory; receiving, at the local computing system, a query from the enterprise application for data stored on the database table, the query comprising a query return time and a context; comparing the context of the query to a context of the predefined query scenario, the context of the query comprising at least one of a database table name, a scenario application name or a scenario job name; based on the context of the query matching the context of the predefined query scenario, retrieving data stored on the secondary database replicated from data stored on the main database; and passing the retrieved data from the secondary database to the enterprise application.
7. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising: receiving, at the local computing system that comprises an enterprise computing system from a remote computing system that executes a hosted application, one or more configuration tables defining a predefined query scenario for querying and retrieving data from the hosted application for data stored on a database table; replicating a database table from a main database to a secondary database, the main database comprising updated data relative to data contained in the database table of the secondary database, the secondary database comprising an in-memory and the main database comprising a magnetic memory; receiving, at the local computing system, a query from the enterprise application for data stored on the database table, the query comprising a query return time and a context; comparing the context of the query to a context of the predefined query scenario, the context of the query comprising at least one of a database table name, a scenario application name or a scenario job name; based on the context of the query matching the context of the predefined query scenario, retrieving data stored on the secondary database replicated from data stored on the main database; and passing the retrieved data from the secondary database to the enterprise application. 11. The computer storage medium of claim 7 , wherein the predefined query scenario further comprises a scenario job name, and comparing the context of the query to a context of a predefined query scenario further comprises: comparing a name of a background job to the scenario job name.