(转)ORA-10631: SHRINK clause should not be specified for this object

SQL> create index i_upper_e on t_shrink(upper(e));
 
Index created
 
SQL> alter table t_shrink enable row movement;
 
Table altered
 
SQL> alter table t_shrink shrink space;
 
alter table t_shrink shrink space
 
ORA-10631: SHRINK clause should not be specified for this object
 
SQL> drop index i_upper_e;
 
Index dropped
 
SQL> alter table t_shrink shrink space;
 
Table altered

 

 

查了一下官方文档,发现shrink这个操作有一些限制

Shrink operations can be performed only on segments in locally managed tablespaces
with automatic segment space management (ASSM). Within an ASSM tablespace, all
segment types are eligible for online segment shrink except these:
■ IOT mapping tables
■ Tables with rowid based materialized views
■ Tables with function-based indexes       --看来函数索引也不是那么容易用的
■ SECUREFILE LOBs
■ Compressed tables

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7353848/viewspace-715575/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7353848/viewspace-715575/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值