During query execution, statistics associated with expressions are
observed. Such observed statistics preferably include the cardinality of
each expression. The observed statistics are submitted to an expression
manager as feedback from the executed query. The statistics are
preferably stored for use in estimating the cardinality of execution
plans for future queries.