Move Tables Between Tablespaces
Move Tables Between Tablespaces / Move Table from one Tablespace to another Tablespace
There are many methods available to move the tables between tablespaces.
1. Export /Import
export the existing table
remove quota from the old tablespace
change the default tablespace to the new tablespace
drop the old table
import the table
change the default tablespace back again
restore quota on the old tablespace
2. ALTER TABLE
This is possible Only if U are on 8i Provided the table does not have LOBs
You cannot MOVE an entire partitioned table (either heap or index organized). You must move individual partitions or subpartitions.
You cannot move a table with a LONG or LONG RAW. You must exp that table and imp it into a table
Recreate underlying indexes using ‘alter index rebuild’
Check the Invalid objects using this table and compile it to become valid.
The indexes on the tables being moved will become unusable after the table, rebuild them right after moving a table — before moving the next table (to reduce downtime).
