Purpose
The DBA_SUBPART_COL_STATISTICS view displays the column statistics and histograms on the subpartitions in the partitioned tables of the database.
Note
This view is introduced since OceanBase Database V3.2.1.
Related views
ALL_SUBPART_COL_STATISTICSUSER_SUBPART_COL_STATISTICS
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| OWNER | VARCHAR2(128) | NO | The owner of the column. |
| TABLE_NAME | VARCHAR2(128) | NO | The name of the table. |
| SUBPARTITION_NAME | VARCHAR2(128) | NO | The name of the subpartition. |
| COLUMN_NAME | VARCHAR2(128) | NO | The name of the column. |
| NUM_DISTINCT | NUMBER | NO | The number of distinct values in the column. |
| LOW_VALUE | VARCHAR2(128) | NO | The minimum value of the column. |
| HIGH_VALUE | VARCHAR2(128) | NO | The maximum value of the column. |
| DENSITY | NUMBER | NO | The density of the column. |
| NUM_NULLS | NUMBER | NO | The number of NULL values in the column. |
| NUM_BUCKETS | NUMBER | NO | The number of buckets in the histogram on the column. |
| SAMPLE_SIZE | NUMBER | NO | The sample size during analysis. |
| LAST_ANALYZED | DATE | NO | The date when the column was analyzed the last time. |
| GLOBAL_STATS | VARCHAR2(3) | NO | YES: indicates that statistics are collected.NO: indicates that statistics are not collected. |
| USER_STATS | VARCHAR2(3) | NO | Indicates whether the partition statistics are set by the user. |
| NOTES | VARCHAR2(80) | NO | Some additional properties. |
| AVG_COL_LEN | NUMBER | NO | The average length of the column. |
| HISTOGRAM | VARCHAR2(15) | NO | The type of the histogram. |