索引学习

创建索引:
普通索引
create index 索引名 on 表名 (列名)

唯一索引
create unique index  索引名 on 表名 (列名);


删除索引
drop index 索引名


监视索引
select * from v$object_usage


查看索引
select * from all_indexes where owner='用户' and table_name='表名'

你可能感兴趣的:(索引学习)