1. A method of accessing a database by a database interface of an application program comprising: receiving a request from the application program executing on an interface computer to access database data comprising a set of parameters; determining a place in application program code of the application program that requested the database data; reading a set of usage statistics, the usage statistics comprising statistics showing how the database data is used by the application program; amending the set of parameters if the usage statistics indicate that the application program will not use the database data requested according to the set of parameters; and fetching a subset of the database data from the database based on the amended set of parameters, the subset of the database data to be used by the application program.