有关oracle中的索引
2014-03-27 15:26
113 查看
在oracle数据库中建立索引能够加快数据的查询速度,但是减慢了数据的更新速度。
创建索引语法:create index index_name on table_name(column_list) [tablespace tablespace_name]
index_name为将要创建的索引名,table_name是为之创建索引的表名,column_list是为其创建索引的列名称,可以基于多列创建索引。
tablespace_name是为其创建索引的表空间。
create index name_index on Student(name) tablespace INDEXS;
创建索引语法:create index index_name on table_name(column_list) [tablespace tablespace_name]
index_name为将要创建的索引名,table_name是为之创建索引的表名,column_list是为其创建索引的列名称,可以基于多列创建索引。
tablespace_name是为其创建索引的表空间。
create index name_index on Student(name) tablespace INDEXS;
相关文章推荐
- 有关Oracle表分区进行(DML)维护后对索引的影响的分析
- 有关Oracle表分区进行(DML)维护后对索引的影响的分析
- 有关Oracle表分区进行(DML)维护后对索引的影响的分析
- oracle sql中涉及is null时如何优化(索引创建和直方图)
- Oracle创建索引策略
- oracle按照主键索引查询不到数据
- oracle创建索引
- Oracle 索引维护
- Oracle中有关日期的一些设置
- 有关Oracle 10g 更改字符集的问题
- 有关oracle实现分页查询的方法
- Oracle:查找表的主键,外键,唯一性约束,索引
- Oracle中加速索引创建或重建的方法
- Oracle PL/SQL之函数索引(Function-based indexes)使用示例
- oracle 索引什么时候重建和重建方法讨论
- Oracle 索引 详解
- Oracle的索引(2) 索引也有好坏
- 如何在oracle中查询所有用户表的表名、主键名称、索引、外键等
- SQL Server误区30日谈 第8天 有关对索引进行在线操作的误区
- Oracle 监控索引使用率脚本分享