
Accessing historical data from moved tables by using image copies
Before materializing any pending changes to move tables from a table space, you can create image copies of the table space so that historical data from the tables can be accessed after the tables are moved.
About this task
You can use the ALTER TABLESPACE MOVE TABLE statement to move a table from a source table space to a target table space. If the data sets of the source table space are already created, the change is a pending definition change that must be materialized.
After tables are moved, historical data from the tables can be accessed from image copies of the source table space that were created before materialization of the MOVE TABLE operations.
Data from tables that were not moved during MOVE TABLE operations can also be accessed from the image copies by running the UNLOAD utility on the source table space. However, certain operations on unmoved tables or the source table space, such as dropping a column or changing the page size, prohibits the use of the UNLOAD utility on image copies. If any of these operations occur after the image copies are created, running the UNLOAD utility on the source table space returns an error message and fails.
Procedure
The following procedure first describes how to create image copies of the source table space and then describes how to access historical data from the moved tables from those image copies.
