Oracle 视图 ALL_XTERNAL_TAB_SUBPARTITIONS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_XTERNAL_TAB_SUBPARTITIONS视图中存储的信息描述每个外部表子分区的信息,可以在其中查看外部表名称、分区键、外部文件的位置以及表的状态等信息。
使用方法:
1、可以使用SELECT语句从ALL_XTERNAL_TAB_SUBPARTITIONS视图中获取具体的信息。SELECT * FROM all_xternal_tab_subpartitions WHERE owner=’用户名’;
2、使用DESCRIBE命令可以查看ALL_XTERNAL_TAB_SUBPARTITIONS视图中的字段信息,帮助我们更加准确的查询信息。DESCRIBE all_xternal_tab_subpartitions;
3、使用ALTER TABLE命令可以在ALL_XTERNAL_TAB_SUBPARTITIONS视图中查看外部表的具体信息,并且可以对表进行修改,ALTER TABLE all_xternal_tab_subpartition;
官方英文解释
ALL_XTERNAL_TAB_SUBPARTITIONS
describes subpartition-level information for partitioned external tables accessible to the current user.
Related Views
-
DBA_XTERNAL_TAB_SUBPARTITIONS
describes subpartition-level information for partitioned external tables in the database. -
USER_XTERNAL_TAB_SUBPARTITIONS
describes subpartition-level information for partitioned external tables owned by the current user. This view does not display theTABLE_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the partitioned external table |
|
|
|
Name of the partitioned external table |
|
|
Name of the partition |
|
|
|
Name of the subpartition |
|
|
|
Owner of the default directory for the external table partition |
|
|
|
Name of the default directory for the external table partition |
|
|
|
Type of access parameters for the partition ( |
|
|
|
Access parameters for the external table partition |
See Also:
-
“DBA_XTERNAL_TAB_SUBPARTITIONS”
-
“USER_XTERNAL_TAB_SUBPARTITIONS”