DBMS_STATS
This package allows you to view and modify optimizer statistics.
Procedures
The most relevant procedures are:
GATHER_SCHEMA_STATS
: gathers optimizer statistics for a schema classGATHER_DATABASE_STATS
: gathers optimizer statistics for a database classGATHER_TABLE_STATS
: gathers table statisticsGATHER_INDEX_STATS
: gathers index statisticsCREATE_STAT_TABLE
: creates the user statistics tableDROP_STAT_TABLE
: drops the user statistics tableEXPORT_SCHEMA_STATS
: exports schema statistics to a user statistics tableIMPORT_SCHEMA_STATS
: import schema statistics from a user statistics table