Optimizer Components

 The optimizer contains three main components: the transformer, estimator, and plan generator.

red hat linux administration training courses malaysia


The following diagram depicts the components:

Figure 7-2 Optimizer Components

Description of Figure 7-2 follows
Description of "Figure 7-2 Optimizer Components"

The input to the optimizer is a parsed query. The optimizer performs the following operations:

  1. The optimizer receives the parsed query and generates a set of potential plans for the SQL statement based on available access paths and hints.

    red hat certified specialist in server hardening malaysia 

  2. The optimizer estimates the cost of each plan based on statistics in the data dictionary. The cost is an estimated value proportional to the expected resource use needed to execute the statement with a particular plan.

  3. The optimizer compares the costs of plans and chooses the lowest-cost plan, known as the query plan, to pass to the row source generator.

Comments

Popular posts from this blog

MICROSOFT SYSTEM CENTER TROUBLESHOOTING AND MAINTENANCE SERVICES COMPANY MALAYSIA

LEADING AND BEST IOS APP DEVELOPMENT COMPANY MALAYSIA