On reviewing our production database performance, in particular any high CPU usage transactions, we notice that the BPM_ERRORS table is doing a FULL TABLE SCAN every time it runs The table is currently 300m in size. Every time that table is queried, Oracle will have to flush all its buffer data to disk in order to load bpm_errors data for read. Can the records from this table be deleted or truncated?
Run the Delete Process Instance Job. If there are many records to delete, the job will take long time.
So make sure that you enter date parameters (eg. run month by month).
Also take DB backup before running it.
Delete process instance job removes the respective entries from the following tables:
For further information, please refer to Technical document TEC438691 - I need more information about the 'Delete Process Instances' Job.