EBS on Oracle Cloud Infrastructure (MOSC)

MOSC Banner

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center