How to Move a Table to a New / Different Tablespace While it is Online
(Doc ID 1357742.1)
Last updated on SEPTEMBER 11, 2024
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Database - Enterprise Edition - Version 10.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Goal
Moving a table from one tablespace to another is a common task for DBA's.
If the table is little used .. very small ... or downtime can be taken ... then the
ALTER TABLE ... MOVE
command the most common method of moving a table to a new tablespace
If the table does not fit the criteria above ... then the table will need to be moved while it is online (accessible to users for DML)
This note will demonstrate the steps needed to use DBMS_REDEFINITION to move a table from one tablespace to another while it is online.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |