1. A method performed with a computing system for optimizing application performance, the method comprising: receiving, at a local computing system, a query from an application for data stored on a database table, the query comprising a context defined by a name of the database table; comparing the context of the query to a context of a predefined query scenario; based on the context of the query matching the context of the predefined query scenario, retrieving data stored on a secondary database replicated from data stored on a main database; and passing the retrieved data from the secondary database to the application.