1. A method for optimizing the access time of an SQL query to a database including data, where the method includes: receiving, for each query type, a data frequency access measure; and associating each query type with a processing rule set, according to the received data frequency access measure.