alter table move online option
Has anyone used the alter table move online option to change a table's tablespace and storage on an active system with users?
Any bugs, pitfalls, or issues??
I am using Oracle 184.108.40.206 on Windows 2000.
Just make sure the table is not locked. You need exclusive lock on table, in order to move it.
ALTER TABLE &table_name MOVE TABLESPACE &tbs_name;
It is better to ask and appear ignorant, than to remain silent and remain ignorant.
Oracle OCP DBA 9i,
C++, Java developer
ALTER TABLE MOVE.... work only with enterprise edition.
Care of indexes, they must be rebuild.
I think that the "ALTER TABLE ... MOVE ONLINE" statement only works with the Indexed Organized Table (for the "ONLINE" option).
Click Here to Expand Forum to Full Width