Oracle 视图 ALL_SUBPART_KEY_COLUMNS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_SUBPART_KEY_COLUMNS视图中包含由用户拥有的每个子分区关键列定义的信息。
ALL_SUBPART_KEY_COLUMNS视图包含以下列:
OWNER:表和子分区的拥有者名称。
TABLE_NAME:表名称。
PARTITION_NAME:该子分区所属表的子分区名称。
COLUMN_POSITION:子分区关键列的位置编号。
COLUMN_NAME:子分区关键列的名称。
使用ALL_SUBPART_KEY_COLUMNS视图时,可以将其用于分析给定子分区的关键列,例如:
SELECT owner,table_name,partition_name,column_position,column_name
FROM all_subpart_key_columns
WHERE table_name = ‘EMPLOYEES’;
官方英文解释
ALL_SUBPART_KEY_COLUMNS
displays subpartitioning key columns for composite-partitioned tables (and local indexes on composite-partitioned tables) accessible to the current user.
Related Views
DBA_SUBPART_KEY_COLUMNS
displays this information for all subpartitions in the database.USER_SUBPART_KEY_COLUMNS
displays this information for subpartitions of all partitioned objects owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
| Owner of the partitioned table or index | |
|
| Name of the partitioned table or index | |
|
| Object type:
| |
|
| Column name | |
|
| Position of the column within the subpartitioning key | |
|
| Internal sequence number of the column for which this column provides linguistic ordering |
See Also:
“DBA_SUBPART_KEY_COLUMNS”
“USER_SUBPART_KEY_COLUMNS”
标签:分区,视图,名称,关键,将其