Consider i have TABLE1 in Tablespace TS1. I have another Tablespace TS2.
What is the difference between the below three
ALTER TABLE TABLE1 MOVE NOLOGGING PARALLEL;
ALTER TABLE TABLE1 MOVE TABLESPACE TS1 NOLOGGING PARALLEL;
ALTER TABLE TABLE1 MOVE TABLESPACE TS2 NOLOGGING PARALLEL;
Thanks in advance..
According to the Database SQL Language Reference:
Therefore, with your first statement Oracle will move the table to a new segment on the same tablespace, while in the other two statements Oracle will move the table to a new segment on the specified tablespace (respectively TS1 and TS2).
If
TABLE1
is already on tablespaceTS1
then the first and second command will perform the same action.Using
MOVE
without changing the tablespace will simply reorganize the segment on the original tablespace.