alter index
来源:互联网 发布:明星开淘宝店 编辑:程序博客网 时间:2024/06/11 18:24
(a).分配区和释放区
分配:alter index ix_my_tab allocate extent;(可以指定分配的数据文件区)
释放:alter index ix_my_tab deallocate unused (keep 100m);
(b).修改日志属性
alter index ix_my_tab logging;
alter index ix_my_tab nologging;
(c).修改存储和物理属性
alter index ix_my_tab pctfree 10 pctused 40 initrans 5 storage(next 100k maxextents unlimited freelists 10 buffer_pool keep);
(d).添加散列索引分区
alter index ix_my_tab add partition tablespace users;
(e).合并和删除分区
合并:alter index ix_my_tab coalesce partition;
删除:alter index ix_my_tab drop paratition ix_my_tab_li;
(f).更改分区
alter index ix_my_tab modify partition ix_my_tab_li allocate extent size 100m;
alter index ix_my_tab modify partition ix_my_tab_li deallocate unused keep 100m;
(g).分区重命名
alter index ix_my_tab rename partition ix_my_tab_li to ix_my_tab_li01;
(h).重建无分区索引
alter index ix_my_tab rebuild online;
(i).缩小操作
alter index ix_my_tab shrink space;
alter index ix_my_tab shrink space compact cascade;
分配:alter index ix_my_tab allocate extent;(可以指定分配的数据文件区)
释放:alter index ix_my_tab deallocate unused (keep 100m);
(b).修改日志属性
alter index ix_my_tab logging;
alter index ix_my_tab nologging;
(c).修改存储和物理属性
alter index ix_my_tab pctfree 10 pctused 40 initrans 5 storage(next 100k maxextents unlimited freelists 10 buffer_pool keep);
(d).添加散列索引分区
alter index ix_my_tab add partition tablespace users;
(e).合并和删除分区
合并:alter index ix_my_tab coalesce partition;
删除:alter index ix_my_tab drop paratition ix_my_tab_li;
(f).更改分区
alter index ix_my_tab modify partition ix_my_tab_li allocate extent size 100m;
alter index ix_my_tab modify partition ix_my_tab_li deallocate unused keep 100m;
(g).分区重命名
alter index ix_my_tab rename partition ix_my_tab_li to ix_my_tab_li01;
(h).重建无分区索引
alter index ix_my_tab rebuild online;
(i).缩小操作
alter index ix_my_tab shrink space;
alter index ix_my_tab shrink space compact cascade;
- alter index
- alter index
- alter index rebuild & alter index rebuild online
- alter index rebuild & alter index rebuild online
- alter index coalesce和alter index rebuild的区别
- alter index coalesce和alter index rebuild的区别
- alter index rebuild与alter index rebuild online的区别
- alter index coalesce和alter index rebuild的区别
- alter index rebuild与alter index rebuild online的区别
- alter index rebuild和alter index rebuild online的区别
- alter index rebuild与alter index rebuild online的区别
- 重建索引:ALTER INDEX..REBUILD ONLINE vs ALTER INDEX..REBUILD
- Oracle alter index rebuild 说明
- OCP-043 alter index..coalesce
- alter index rebuild 效率分析
- ORA-02243: ALTER INDEX 或 ALTER MATERIALIZED VIEW 选项无效
- alter index rebbuild and rebuild online
- alter index rebuild online引发的血案
- 求递归算法时间复杂度:递归树
- 过桥问题和倒水问题算法
- Eclipse C/C++开发环境搭建----Linux版
- Android 的main.mk完整分析
- 【让自己值得推荐-精彩导读-不容错过】
- alter index
- 使用XSLT制作HTML邮件模板并发送
- 探索式测试的问与答
- Android build system note
- Android的面向组件思想
- build/envsetup.sh简记Android
- Calendar 对时间的操作
- JAVA 反射详细讲解 实例
- cdc 和 hdc 的关系以及转换