[OSM] Purge Partition Online Take Long Time
Last updated on OCTOBER 13, 2017
Applies to:Oracle Communications Order and Service Management - Version 7.2.0 and later
Information in this document applies to any platform.
*****Currency checked on 13 Oct 2017 *****
During purge partition, Customer experienced that it was taking very long time during swap partition step (1 hour++). The partition size is 300,000. Below are steps which we use to purge partition.
Note that we stopped at step#2 because it took too long.
a_online => true,
a_delete_before => sysdate + 1,
a_order_states => om_new_purge_pkg.v_al-0l_orders,
a_order_id_ge => null,
a_order_id_lt => 300001,
a_drop_empty_ptns => false);
During step#2, we observed that below statement was iteratively going through every single partition even though table is empty. OSM has a lot of sub partitions across many tables. This is suspected to be causing the slowness. Is there anything we can do to improve the time taken for purging partition process?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms