Without establishing an index, if DBMS_AQADM-purge_queue_table is used to quickly clean WF_deFERRED
It takes 2 hours to clean up a single record when using DBMS_AQADM-purge_queue_table to clean up WF_deFERRED data. I plan to clean up 200 million pieces of data between 2016 and 2023.
We originally planned to establish an index on msgid to speed up the cleaning process, but after estimation, we found that it requires 79GB of index space. Due to limited storage space, we have abandoned the plan of establishing an index. To accelerate cleaning efficiency.
Use delete from Applsys. AQ $_ WF-DEFERRED_H to delete data from 2016. After trying to clean it up, we found that the execution speed of BMS-AQADM.purge_queue_table is around 1 second. just