Cost estimation

At runtime, the Optimizer chooses an optimal access method for the query by calculating an implementation cost based on the current state of the database.

The Optimizer models the access cost of each of the following:

The cost of a particular method is the sum of: