1. In a server computer, an optimized database analytics method comprising: storing a data model in memory in the server, the data model including a programmatically defined structure; selecting a target programming language; providing an API access layer for a client to access the server, wherein the API access layer includes a base client library implemented in the target programming language; generating a model specific interface library that is conformant with a syntax of the target programming language and that matches the defined structure of the stored data model; adding the model specific interface library to the API access layer for use by the client to interact with the data model using the target programming language; coding the defined structure of the stored data model to form at least one internal source code file; and compiling the internal source code file into native machine code for linking into a function table associated with the data model so that operations expressed by the client in the target programming language may be executed utilizing native machine code on the server in response to client requests received via the API access layer.