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

DB_PART_KEY_COLUMNS

DB_PART_KEY_COLUMNS displays information about the partition key columns of partitioned tables or partitioned indexes accessible to the current user. This view is accessible to all users and displays all information accessible to the current user. This view exists in both PG_CATALOG and SYS schema.

Table 1 DB_PART_KEY_COLUMNS columns

Name

Type

Description

owner

character varying(128)

Owner of a partitioned table or index.

name

character varying(128)

Name of a partitioned table or index.

object_type

character(5)

Object type.

  • Its value is table for a partitioned table.
  • Its value is index for a partitioned index.

column_name

character varying(4000)

Partition key column name of a partitioned table or index.

column_position

numeric

Position of a column in a partition.

collated_column_id

numeric

Not supported. Its value is NULL.