Oracle 视图 V$INDEXED_FIXED_COLUMN 官方解释,作用,如何使用详细说明
本站中文解释
view
Oracle视图V$INDEXED_FIXED_COLUMN是V$FIXED_COLUMN视图的子视图,其展示了索引和非索引字段之间的关系。通过该视图可以获取一个表中索引字段是否必须作为可固定列,或者是可选固定列。
使用V$INDEXED_FIXED_COLUMN查看某表字段索引情况:
SELECT index_name,is_optional
FROM v$indexed_fixed_column
WHERE segment_name = ‘TABLE_NAME’;
官方英文解释
V$INDEXED_FIXED_COLUMN
displays the columns in dynamic performance tables that are indexed (X$
tables).
The X$
tables can change without notice. Use this view only to write queries against fixed views (V$
views) more efficiently.
Column | Datatype | Description |
---|---|---|
|
|
Name of the dynamic performance table that is indexed |
|
|
Number that distinguishes to which index a column belongs |
|
|
Name of the column that is being indexed |
|
|
Position of the column in the index key (this is mostly relevant for multicolumn indexes) |
|
|
The ID of the container to which the data pertains. Possible values include:
|