USER_TAB_HISTOGRAMS

2023-12-08 07:13:36  Updated

Purpose

USER_TAB_HISTOGRAMS lists the table-level histograms of the current user.

Applicability

This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.

  • ALL_TAB_HISTOGRAMS

  • DBA_TAB_HISTOGRAMS

Columns

Column Type Nullable? Description
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) YES The scope of the histogram.

Contact Us