This graphic depicts two plans, labeled Plan 1 and Plan 2. An arrow points up from a box labeled Optimizer. The arrow is labeled "Generates and Compares." The Optimizer points to the right to an image of Plan 2. The arrow is labeled Output. The optimizer has a double-headed arrow a box of 1s and 0s. The box is labeled Statistics. On the left is a box labeled Parsed Representation of SQL Statement. An arrow points to the Optimizer box. The arrow is labeled Input.