ALL_TAB_COL_STATISTICS
ALL_TAB_COL_STATISTICS displays column statistics and histogram information extracted from ALL_TAB_COLUMNS.
Related Views
-
DBA_TAB_COL_STATISTICSdisplays such information extracted from “DBA_TAB_COLUMNS”. -
USER_TAB_COL_STATISTICSdisplays such information extracted from “USER_TAB_COLUMNS”. This view does not display theOWNERcolumn.
| Column | Datatype | NULL | Description |
|---|---|---|---|
OWNER |
VARCHAR2(128) |
Owner of the table | |
TABLE_NAME |
VARCHAR2(128) |
Name of the table | |
COLUMN_NAME |
VARCHAR2(128) |
Column name | |
NUM_DISTINCT |
NUMBER |
Number of distinct values in the column | |
LOW_VALUE |
RAW(1000) |
Low value in the column | |
HIGH_VALUE |
RAW(1000) |
High value in the column | |
DENSITY |
NUMBER |
If a histogram is available on If a histogram is not available on |
|
NUM_NULLS |
NUMBER |
Number of NULLs in the column | |
NUM_BUCKETS |
NUMBER |
Number of buckets in histogram for the column | |
LAST_ANALYZED |
DATE |
Date on which this column was most recently analyzed | |
SAMPLE_SIZE |
NUMBER |
Sample size used in analyzing this column | |
GLOBAL_STATS |
VARCHAR2(3) |
GLOBAL_STATS will be YES if statistics are gathered or incrementally maintained, otherwise it will be NO |
|
USER_STATS |
VARCHAR2(3) |
Indicates whether statistics were entered directly by the user (YES) or not (NO) |
|
NOTES |
VARCHAR2(99) |
Describes some additional properties of the statistics. For example:
|
|
AVG_COL_LEN |
NUMBER |
Average length of the column (in bytes) | |
HISTOGRAM |
VARCHAR2(15) |
Indicates existence/type of histogram:
|
|
SCOPE |
VARCHAR2(7) |
The value is For a global tempoary table, the possible values are:
See Oracle AI Database PL/SQL Packages and Types Reference for information about using the |
See Also: