Show TOC

Procedure documentationUpdating Statistics in the DBA Planning Calendar (Oracle) Locate this document in the navigation structure

 

You can use the DBA Planning Calendar in the Computing Center Management System (CCMS) to schedule check and update statistics for the cost-based optimizer in the Oracle database.

All tables in the database are then automatically checked and updated on a regular basis.

Note Note

The action that you plan with this procedure now includes both check statistics and update statistics in a single integrated phase. This is equivalent to the two-phase approach previously used. For more information, see Update Statistics with BRCONNECT.

End of the note.

Prerequisites

Procedure

  1. Choose   Administration   CCMS   DB Administration   DBA Planning Calendar  . Alternatively, call transaction DB13.

  2. Choose the day when you want the statistics to be checked and updated.

  3. Choose Create action.

  4. Select Check and update optimizer statistics to check and update statistics.

  5. Enter data as required in the fields Start Time, Period (weeks), and Calendar.

    Recommendation Recommendation

    We recommend you to schedule this action every week, preferably at a time when the database is not under heavy load. It might take several hours to complete and can significantly load the system.

    End of the recommendation.
  6. Choose Continue.

Result

The check and update statistics are now scheduled. They are executed at the scheduled date and time. For more information about looking at the results, see Displaying the Status of a Day's Actions (Oracle).