CA Identity ManagerCA Identity GovernanceCA Identity Portal
Issue/Introduction
The campaign data purge from the Identity Governance portal takes a while to complete and is resource intensive.
The script performs the same action in a considerable less time and resources.
Environment
Identity Governance 14.x
Cause
Due to large dataset
Resolution
Below running the steps below, perform a backup of your Identity Governance database.
Here are the steps to running the script:
Stop Identity Governance server
Run the following SQL query to get the BusinessFlows: "select * from businessflows;"
The result is a list of all the business flows, note BUSINESSFLOWID of the campaign you wish to purge. For this document we will assume it is 42.
Open the jar file dbutil-jar-with-dependencies.jar located in <RCM_Home>/eurekify-jboss/bin/ for JBoss and for WebSphere
In the navigate to com\eurekify\dbutil\oracle\sql, where you will find the filepurgeCampaignScript.sql
Copy the file to a different location.
Open the file in a text editor and edit the first line as follows (you only need to edit the value you found in step 3): "DECLARE BusinessFlow_Id INTEGER := XX;"
Execute the updated script.
Run statistics on the schema.
Start RCM server.
If you are using Virtual Appliance, the dbutil-jar-with-dependencies.jar is located under /opt/CA/wildfly-ig/bin