1. A system comprising: a database server including a database; and an enterprise application server including: an enterprise application execution module; a first level cache; a second level cache; and a cache optimizer, wherein the enterprise application server is configured to: iteratively execute an executable module, which causes: receiving entity data from the database, the entity data including a plurality of different attributes; storing the entity data in the first level cache; and accessing at least one attribute in the entity data from the first level cache; collect statistical data based on the executing executable module, the statistical data representing a quantity of accesses of each of the plurality of attributes; determine at least one attribute, of the plurality of attributes, to omit from the second level cache based on the statistical data; transfer a subset of the entity data from the first level cache to the second level cache with the subset having the at least one attribute omitted from the entity data; and store, in the second level cache, the subset of the entity data with the at least one attribute omitted.