创建普通索引
create index indexname on username.tablename (column) tablespace tablespacename;
创建位图索引
create bitmap index indexname on username.tablename (column) tablespace tablespacename;
重建索引
alter index indexname tablespace tablespacename;
查询所有用户索引
select * from user_indexes;
查询所有索引
select index_name from dba_indexes;