alter table table_name enable row movement ;
alter table [table] shrink space compact;(可以在压缩期间进行DML操作和查询,时间很长)
alter table [table] shrink space;(调整HWM时将阻塞DML操作,时间较短)
本帖最后由 yangrongyan2008 于 2012-12-12 10:28 编辑
语法:
alter table [table] shrink space [| compact | cascade ];
alter table [table] shrink space compcat; www.2cto.com
收缩表,相当于把块中数据打结实了,但会保持 high water mark;
alter table [table] shrink space;
收缩表,降低 high water mark;
alter table [table] shrink space cascade;
收缩表,降低 high water mark,并且相关索引也要收缩一下下。
alter index idxname shrink space;