1. A method comprising: maintaining a master statistics file in a multitenant environment, the master statistics file having statistics corresponding to multiple tenants within the multitenant environment; parsing the master statistics file into an object having an ordered grouping of statistical information corresponding to one or more selected tables stored in a single database within the multitenant environment; generating statistics for a table, the table corresponding to a selected tenant of the multitenant environment, the table from the one or more selected tables; and updating the master statistics file based on the generated statistics for the table.