DBMS_REDEFINITION: Case Study for a Large Non-Partition Table to a Partition Table with Online Transactions Occuring
(Doc ID 1481558.1)
Last updated on OCTOBER 14, 2019
Applies to:Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
This Note has been written to provide some volume details and timings for the process
to convert a normal table to a partition table using the DBMS_REDEFINITION package.
The note will also include details of objects used by the process (Fast Refresh) and how
these become populated during the procedure.
The procedure is broken down into the following sections:
1. Create the Partition Table structure required, known as the Interim table.
2. Execute DBMS_REDEFINITION.can_redef_table
3. Execute DBMS_REDEFINITION.start_redef_table
4. Execute DBMS_REDEFINITION.sync_interim_table
5. Execute DBMS_REDEFINITION.finish_redef_table
6. Drop the interim table.
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