oracle里的常用命令(四):索引
来源:互联网 发布:差评对淘宝店铺的影响 编辑:程序博客网 时间:2024/04/29 19:37
oracle里的常用命令
第四章:索引
1.creating function-based indexes
sql> create index summit.item_quantity on summit.item(quantity-quantity_shipped);
2.create a B-tree index
sql> create [unique] index index_name on table_name(column,.. asc/desc) tablespace
sql> tablespace_name [pctfree integer] [initrans integer] [maxtrans integer]
sql> [logging | nologging] [nosort] storage(initial 200k next 200k pctincrease 0
sql> maxextents 50);
3.pctfree(index)=(maximum number of rows-initial number of rows)*100/maximum number of rows
4.creating reverse key indexes
sql> create unique index xay_id on xay(a) reverse pctfree 30 storage(initial 200k
sql> next 200k pctincrease 0 maxextents 50) tablespace indx;
5.create bitmap index
sql> create bitmap index xay_id on xay(a) pctfree 30 storage( initial 200k next 200k
sql> pctincrease 0 maxextents 50) tablespace indx;
6.change storage parameter of index
sql> alter index xay_id storage (next 400k maxextents 100);
7.allocating index space
sql> alter index xay_id allocate extent(size 200k datafile 'c:/oracle/index.dbf');
- oracle里的常用命令(四):索引
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- Oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令
- oracle里的常用命令(三):表
- Oracle里的常用命令(转)
- oracle里的常用命令1
- oracle里的常用命令2
- oracle里常用命令(1)
- oracle里常用命令(2)
- oracle里的常用命令(一):日志管理
- Mac OSX x86 10.4.6 安装小记(1)
- 印度软件外包发展简记
- 为明天计划,而不要为明天忧虑
- 今日在CSDN上开通了Blog
- Oracle数据库的导入和导出
- oracle里的常用命令(四):索引
- 关键行为阶段
- 没想到啊...CSDN blog可以如此PP
- 一个“Spring轮子”引发的“血案”(2)
- 正确对待日本
- 轻松下载.pdf文件(直接下载,而不是在IE浏览器里面打开)
- 我和总司
- 人品计算器 (仅供娱乐) - 笑不死算我的!
- 我的最浪漫的事