Question
Truist
US
Last activity: 6 Oct 2023 6:26 EDT
How is the DB table pr_sys_statusdetails normally purged of older records in PRPC V 7.1.8?
We are observing constant deadlocks in PRPC V7.1.8 involving table pr_sys_statusdetails.
I observe the table contains 10 million rows and has not been purged since 2018.
Is this contributing to or causing the deadlocks? I'm guessing yes, please advise if otherwise.
I understand the default configuration of PRPC is to keep only the most recent data (7 days?) in pr_sys_statusdetails. Is that correct?
Which scheduled process normally removes that data? I see the Agent SystemCleaner which invokes the activity SystemCleaner, but I don't see where that activity cleans this specific data.
I also find a stored procedure, DBO.sppr_purge_table and an activity, pzSystemStatusPurge.
Both the activity and the stored proc clean old rows from pr_sys_statusdetails, but I don't see where they are invoked on a schedule. Are they?
***Edited by Moderator Marije to add Bug ID***