Applying interaction history scripts in Db2 Database Software
Use these scripts with Db2 Database Software to archive or purge the interaction history tables on Windows OS. The scripts allow you to move the FACT table records, merge the Dimension records, and delete the records from the FACT table.
Note: The IH scripts contain variables like
<source_user_name>
or
<target_user_name>
that you must provide before executing any of
the sample scripts. - Back up the source and target interaction history tables.
- Create indexes on the columns. Indexes improve performance when you read data from the archived tables.
- Modify interaction history records using the sample scripts: