How to manage raw data cleanup in RSA Identity Governance & Lifecycle
Originally Published: 2016-09-19
Article Number
Applies To
RSA Version/Condition: All
Issue
Tasks
SELECT MAX(EVENT_TIME) FROM T_AV_JOB_STATS WHERE PKG_NAME='RawData_Helper' AND PROC_NAME='Purge_And_Refresh_Raw_Tables' AND EVENT = 'END';Ideally, this will return a recent date; however if the date is several days in the past you may have an issue with your collections interrupting the clean-up task that is purging the raw data. If the date is weeks or further in the past, you may have noticeable database bloat and performance impact.
Resolution
-
Database Statistics scheduling
The date, time and frequency the database statistics and clean-up job run can be scheduled under Collectors > Scheduling > Tasks tab (DB Statistics Refresh) > Edit. By default, database statistics are scheduled to run at 12:30 AM. Ideally you want to schedule it at a period where you have the longest period absent of collections and other interruptions. For example, if your collections run from 10:00 PM to 3:00 AM (five hours), a good time to schedule database statistics to run would be 3:15 AM. Assuming your work day begins at 8:00 AM, that gives database statistics a period of six hours and 45 minutes to complete the run time, which is higher than the average expected run time of five hours, so it should complete regularly each night.
-
Raw Data Set Retention
The number of runs worth of raw data maintained is determined by the CollectorRawDataSetsToKeep custom parameter. You may want to modify this setting to reduce the number of raw data sets to keep. Please see RSA Knowledge Base Article 000030107 -- Optimal value for CollectorRawDataSetsToKeep in RSA Identity Governance & Lifecycle for details on modifying this setting.
-
Shrink the T_RAW_* and T_DC_SOURCEDATA_* Tables
After the purge process has cleaned up excess rows from the raw data tables, you can shrink the tables to reclaim space. This is only necessary if significant clean up (4+ runs) was needed. The below SQL statements should only be run when the application server is offline. I.e. when RSA Identity Governance & Lifecycle is shutdown or in maintenance mode. Perform the following steps as SYSDBA:
ALTER TABLE {TABLENAME} ENABLE ROW MOVEMENT;
ALTER TABLE {TABLENAME} SHRINK SPACE;
ALTER TABLE {TABLENAME} DISABLE ROW MOVEMENT;
For more information on managing space and shrinking tables in RSA Identity Governance & Lifecycle, please see RSA Knowledge Base Article How to manage database growth in RSA Identity Governance & Lifecycle.Related Articles
How to use SAW purge data script 11Number of Views Change Requests in Pending Submission state are not being deleted by the daily scheduled task in RSA Identity Governance &… 72Number of Views Linux commands used to manage RSA Identity Governance & Lifecycle services 110Number of Views How to purge the outgoing email queue on RSA Via Lifecycle and Governance 28Number of Views Failed to cleanup RADIUS data when restoring backup from Operations Console of RSA Authentication Manager 8.4.x 243Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA-2026-10: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA SecurID Desktop Token 5.0.3 for Windows Administrator's Guide RSA SecurID Software Token 4.2.1 for Mac OS X Administrator's Guide
Don't see what you're looking for?