oracle shrink table

maojinyu發表於2010-10-15

delete from mao.a
ALTER TABLE mao.A SHRINK SPACE

alter table mao.a enable row movement
analyze table a compute statistics
select * from DBA_TABLES s where S.TABLE_NAME='A'

SELECT * FROM DBA_EXTENTS T WHERE T.segment_name='A'

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9907339/viewspace-1039778/,如需轉載,請註明出處,否則將追究法律責任。

相關文章