The following diagram shows the six stages of execution for the ADMIN_MOVE_TABLE() procedure:
Stages of the ADMIN_MOVE_TABLE procedure
Let us see what each stage stands for:
- INIT: Initializes all of the objects required for the operation, including the staging table that is necessary for capturing all of the data changes during the move.
- COPY: Creates a copy of the source table per the current definition and copies the data into the target table.
- REPLAY: Replays all of the changes captured in the staging table into the target table, just before swapping the source and target tables.
- VERIFY: An optional ...