Administration Guide
When doing data redistribution on a table, the utility does the
following:
- Locks the row for the table in the SYSTABLES catalog table.
- Invalidates all packages that involve this table. The partitioning
map ID associated with the table will change because the table is being
redistributed. Because the packages are invalidated, the compiler must
obtain the new partitioning information for the table and generate packages
accordingly.
- Locks the table in exclusive mode.
- Redistributes the data in the table via DELETEs and INSERTs.
- If the redistribution operation succeeds, it:
- Issues a COMMIT for the table.
- Continues with the next table in the nodegroup.
If the operation fails before the table is fully redistributed, the
utility:
- Issues a ROLLBACK on updates to the table.
- Ends the entire redistribution operation and returns an error.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]