
126 DB2 Recovery Expert for Multiplatforms
Figure 6-48 Database restored
6.11 Scenario D: PIT recovery with Referential Integrity
DB2 Recovery Expert has no special handling for SQL that occurred as a result
of Referential Integrity (RI) constraints. You therefore need to think carefully
about your recovery strategy when you are recovering objects that are affected
by Referential Integrity. We use the following scenario to demonstrate this.
6.11.1 Scenario description
In this scenario we have a foreign key on the STAFF table that references the
ORG table. The constraints were added using the following SQL:
alter table org add primary key (deptn