Oracle 视图 ALL_XML_INDEXES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_XML_INDEXES显示拥有者的XML索引汇总信息。
ALL_XML_INDEXES包含的主要信息如下:
1. OWNER:拥有者名称;
2. INDEX_NAME:索引名称;
3. TABLE_NAME:索引关联的表名称;
4. TABLE_OWNER:表的拥有者;
5. COLUMN_NAME:索引关联列;
6. TYPE:索引类型(全文本索引,唯一性索引等)
7. GENERATING_FUNCTION:索引构建函数.
使用ALL_XML_INDEXES视图可以查询全文本索引的汇总信息,便于管理、排查问题。可以根据OWNER,TABLE_NAME, COLUMN_NAME等条件组合查询相关的索引信息。如下:
SELECT owner, index_name, table_name, table_owner, column_name, type, generating_function
FROM all_xml_indexes
WHERE owner = ‘OWNER_NAME’
AND table_name = ‘TABLE_NAME’;
官方英文解释
ALL_XML_INDEXES
describes the XML indexes accessible to the current user.
Related Views
-
DBA_XML_INDEXES
describes all XML indexes in the database. -
USER_XML_INDEXES
describes the XML indexes owned by the current user. This view does not display theINDEX_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the XML index |
|
|
|
Name of the XML index |
|
|
|
Owner of the indexed object |
|
|
|
Name of the indexed object |
|
|
Type of the indexed column:
|
|
|
|
Type of the index:
|
|
|
|
Name of the path table |
|
|
|
Indexed paths and Scheduler job information |
|
|
|
Asynchronous index type:
|
|
|
|
Indicates whether the index type is stale ( |
|
|
|
Name of the pending table |
|
|
|
Path subsetting:
|
See Also:
-
“DBA_XML_INDEXES”
-
“USER_XML_INDEXES”