How to purge Resolved- case instances using SQL statements
Hello,
We have more than 2 million Resolved- instances of a case type and its child case in our system.
These are the selected work types in Purge/Archive Wizard:
- Process classes outside workpool?
- ...-Work-CSP
- ...-Work-CSP-CSPSvrc
- ...-Work-CSP-CSPChild
Pega OOTB Purge/Archive Wizard is purging cases at a very slow rate (about 5 K/day). Perhaps because this case type also has a child case.
In addition of using Purge/Archive Wizard could we purge these Resolved- cases directly on the Oracle database using SQL statements?
So far I have found these articles, but they don't explain exactly how to join other tables to work table so that only records related to those Resolved- cases are deleted:
- https://collaborate.pega.com/question/how-purge-huge-amount-data-pega-work-table
- https://collaborate.pega.com/discussion/there-way-clear-out-or-delete-cases
I appreciate your feedback and comments in advance.