摘要 |
A system and method of evaluating a materialized view relating to a base table for a database system. The method includes the steps of defining a simulated materialized view for the base table within a user session and storing the definition for the simulated materialized view in computer memory such that the definition is available only within the user session. The method further includes the step of maintaining the definition(s) for one or more active materialized views relating to the base table in computer memory such that the definition(s) is/are available outside the user session. An optimizer is invoked to evaluate the simulated materialized view within the user session as if the materialized view was available outside the user session. As an additional step, a simulated materialized view is then selected on detecting a potential improvement of performance.
|