Purpose
The DBA_TAB_HISTOGRAMS view displays the table-level histograms on the current database.
Note
This view is introduced since OceanBase Database V3.2.1.
Related views
ALL_TAB_HISTOGRAMSUSER_TAB_HISTOGRAMS
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| OWNER | VARCHAR2(128) | NO | The owner of the histogram. |
| TABLE_NAME | VARCHAR2(128) | NO | The name of the table where the histogram belongs. |
| COLUMN_NAME | VARCHAR2(128) | NO | The name of the column where the histogram belongs. |
| ENDPOINT_NUMBER | NUMBER | NO | The number of bucket accumulations. |
| ENDPOINT_VALUE | NUMBER | NO | The normalized endpoint value of the bucket. |
| ENDPOINT_ACTUAL_VALUE | VARCHAR2(4000) | NO | The endpoint value of the bucket. |
| ENDPOINT_ACTUAL_VALUE_RAW | VARCHAR2(4000) | NO | The binary endpoint value of the bucket. |
| ENDPOINT_REPEAT_COUNT | NUMBER | NO | The number of times that the endpoint value of the bucket appears. |
| SCOPE | VARCHAR2(7) | NO | The scope of the histogram. |