B
STALE_PERCENT
- Determines the percentage of rows in a table that have to change before the statistics on that table are deemed stale and should be regathered. The valid domain for stale_percent
is non-negative numbers.The default value is 10%. Note that if you set stale_percent
to zero the AUTO
STATS
gathering job will gather statistics for this table every time a row in the table is modified.
C 与表的statistics收集无关
TIMED_STATISTICS
specifies whether or not statistics related to time are collected.
Values:
true
The statistics are collected and stored in trace files or displayed in the V$SESSTATS
and V$SYSSTATS
dynamic performance views.
false
The value of all time-related statistics is set to zero. This setting lets Oracle avoid the overhead of requesting the time from the operating system.
STATISTICS_LEVEL
specifies the level of collection for database and operating system statistics. The Oracle Database collects these statistics for a variety of purposes, including making self-management decisions.
The default setting of TYPICAL
ensures collection of all major statistics required for database self-management functionality and provides best overall performance. The default value should be adequate for most environments.
When the STATISTICS_LEVEL
parameter is set to ALL
, additional statistics are added to the set of statistics collected with the TYPICAL
setting. The additional statistics are timed OS statistics and plan execution statistics.
Setting the STATISTICS_LEVEL
parameter to BASIC
disables the collection of many of the important statistics required by Oracle Database features and functionality
E
OPTIMIZER_USE_PENDING_STATISTICS
specifies whether or not the optimizer uses pending statistics when compiling SQL statements.