索引学习

来源:互联网 发布:王侯将相焉有种乎出自 编辑:程序博客网 时间:2024/06/04 19:49
创建索引:
普通索引
create index 索引名 on 表名 (列名)

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


删除索引
drop index 索引名


监视索引
select * from v$object_usage


查看索引
select * from all_indexes where owner='用户' and table_name='表名'
0 0
原创粉丝点击