Support Article
Increase in rows in table pr_index_info (AES Remote)
SA-4119
Summary
The number of rows in the pr_index_info table seem to be always increasing. It seems the stored procedure SPPR_POPULATE_INDEX_DATA is at fault. This table is used by AES to get table index information.
Error Messages
None
Steps to Reproduce
Day to day activities that produce alerts.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. There are defects in stored procedure SPPR_POPULATE_INDEX_DATA for DB2/UDB.
The stored procedure is putting data in the wrong columns – in particular, it is putting table name in the requestorID column, and crossing table name and requestor ID.
Resolution
This issue is resolved through the following local change:
- Drop the stored procedure (SPPR_POPULATE_INDEX_DATA)
- Run the script: sppr_populate_index_data.sql (available from GCS) to recreate the stored procedure
- Truncate the values in the table pr_index_info ('alter table pr_index_info activate not logged initially with empty table' or 'truncate table pr_index_info immediate' depending on the version)
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.