oracle创建索引后查看索引是否被执行
--建立索引
create index index_bankseq on bank(bankseq);
--drop index bankseq;
--查看索引
select status,T.* from user_indexes T where table_name='BANK';
--查看执行计划(看索引是否被执行)
explain plan for select * from bank where bankseq='1';
select * From Table(dbms_xplan.display());