Support for the Cost-Based Optimizer 
The cost-based optimizer (CBO) is an essential component for speeding up the performance of the Oracle database system. It uses statistics to examine how the database has been accessed and then define an optimum access strategy. The CBO replaced rule-based optimization in R/3 Release 4.0.
As a prerequisite for using the cost-based optimizer the parameter
OPTIMIZER_MODE in the Oracle initialization profile init<SID>.ora must be set to CHOOSE .Two-Phase Concept
SAP has introduced a two-phase concept to keep the CBO’s statistics permanently up-to-date:

Run phases I and II regularly. You can make this process fully automatic by scheduling the commands
For more information, see:
CCMS Support for the Cost-Based Optimizer
SAPDBA Internal Rules for Determining Statistics for the CBO