This figure shows a flowchart for the stages in the query optimization process.