1. A method for managing database statistics, the method comprising: receiving a query for optimizing; collecting statistics specific to the query prior to generating any access plans for executing the query; generating an access plan for executing the query based on the collected statistics; and storing one or more of the collected statistics in an archive.