Updated on 2024-06-03 GMT+08:00

DB_TAB_HISTOGRAMS

DB_TAB_HISTOGRAMS displays histogram statistics about the tables and views accessible to the current user, that is, the distribution of data in each column of the table. All users can access this view. This view exists in the PG_CATALOG and SYS schemas.

Table 1 DB_TAB_HISTOGRAMS columns

Name

Type

Description

owner

character varying(128)

Table owner.

table_name

character varying(128)

Table name.

column_name

character varying(4000)

Column name or attribute of an object column.

endpoint_number

numeric

Bucket ID of the histogram.

endpoint_value

numeric

Not supported. Set it to NULL.

endpoint_actual_value

character varying(4000)

Actual value of the bucket endpoint.

endpoint_actual_value_raw

raw

Not supported. Set it to NULL.

endpoint_repeat_count

numeric

Not supported. Set it to NULL.

scope

character varying(7)

Not supported. Set it to SHARED.