1. A computer program product for avoiding structured database queries directed to a database management system (DBMS) by an application program, the computer program product comprising: a non-transitory tangible computer-readable medium; a code generator module, wherein the code generator module: is stored on the medium, and is operative to automatically modify a source code of the application program before application program run time, wherein said modifying comprises: inserting start-up code in the source code; and inserting trap code in the source code to avoid at least one structured database query; and an establishment module, wherein the establishment module: is stored on the medium, is executed after the code generator module and before the application program run time, is in communication with the DBMS containing identified data that is at least partially responsive to the at least one structured database query, and that is static over a period, and is operative to execute the start-up code to establish at least a subset of the identified data in a local main memory before the application program run time, by retrieving the identified data from the DBMS and storing the identified data in the local main memory, and where the local main memory is characterized by an access latency less than the latency associated with retrieving the identified data using the structured database query, and where the access latency is defined with respect to the application program; and wherein the trap code: is stored on the medium; is executed at the application program run time; and is operative to avoid executing the at least one structured database query when at least a portion of the response to the structured database query corresponds to at least a portion of the identified data stored in the local main memory; and is operative to provide the response to the avoided structured database query at least in part using the identified data stored in the local main memory without executing the structured database query.