对一个分区表进行清理,由于全是local索引,因此执行删除分区脚本
alter table xxxx drop partition xxxx;
执行完毕发现dba_free_space剩余空间没有变化。
后来发现,执行删除分区脚本必须加上update子句才能释放空间,即使没有全局索引。
alter table xxxx drop partition xxxx update global indexes;
对一个分区表进行清理,由于全是local索引,因此执行删除分区脚本
alter table xxxx drop partition xxxx;
执行完毕发现dba_free_space剩余空间没有变化。
后来发现,执行删除分区脚本必须加上update子句才能释放空间,即使没有全局索引。
alter table xxxx drop partition xxxx update global indexes;