3.108 ALL_TAB_HISTOGRAMS
ALL_TAB_HISTOGRAMS
describes histograms on tables and views accessible to the current user.
The ALL_TAB_HISTOGRAMS
view may contain a one-bucket histogram, which in fact signifies "No histogram" to the Oracle Database software. Therefore, it should not be queried to indicate the presence or absence of a histogram on a particular column. Instead, query the value of column HISTOGRAM
in the ALL_TAB_COL_STATISTICS
view.
Related Views
-
DBA_TAB_HISTOGRAMS
describes histograms on all tables and views in the database. -
USER_TAB_HISTOGRAMS
describes histograms on all tables and views owned by the current user. This view does not display theOWNER
column.
Note:
These views are populated only if you collect statistics on the table using the DBMS_STATS
package. For more information, see Oracle Database PL/SQL Packages and Types Reference.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the table |
|
|
|
Name of the table |
|
|
|
Column name or attribute of the object type column |
|
|
|
Histogram bucket number |
|
|
|
Normalized endpoint value for this bucket |
|
|
|
Actual (not normalized) string value of the endpoint for this bucket |
|
|
|
Endpoint actual value in raw format |
|
|
|
Frequency of the endpoint (applies only to hybrid histograms, and is set to 0 for other histogram types) |
|
|
|
The value is For a global tempoary table, the possible values are:
See Oracle Database PL/SQL Packages and Types Reference for information about using the |
See Also: