ORA-10636: ROW MOVEMENT is not enabled

今天測試Oracle DB shrink space的功能時,出現了ORA-10636的錯誤。
ORA-10636: ROW MOVEMENT is not enabled

因為Shrink space會改變Rowid的位置,所以必須先允許Rowid的Move。
SQL> alter table admin.tmp_ccc enable row movement;

重新執行Shrink space就不會出現錯誤。
SQL> alter table admin.tmp_ccc shrink space;

不允許改變Rowid
alter table cusadmin.tmp_ccc disable row movement;

Windows 11安裝時跳過網路連線