不可見索引是
還會進行維護
這個索引標志為不可見
SQL> conn TEST/test
Connected
SQL> desc t
Name Null? Type
ID NUMBER(
NAME VARCHAR
SQL> create index idx_t_
Index created
SQL> exec dbms_stats
PL/SQL procedure successfully completed
SQL> select index_name
INDEX_NAME VISIBILIT
IDX_T_
SQL> set autot traceonly exp
SQL> set linesize
SQL> select * from t where id=
Execution Plan
Plan hash value:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
|
|*
Predicate Information (identified by operation id):
SQL> set autot off
SQL> alter index idx_t_
Index altered
SQL> select index_name
INDEX_NAME VISIBILIT
IDX_T_
SQL> set autot traceonly exp
SQL> select * from t where id=
Execution Plan
Plan hash value:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
|
|
|*
Predicate Information (identified by operation id):
SQL>
From:http://tw.wingwit.com/Article/program/Oracle/201311/17616.html