Dropping the Eligible Table Partitions
Once you identify the table partitions which are eligible for dropping, you can drop the eligible table partitions. However, we recommend you to take a backup of the eligible table partitions before dropping them.
Procedure
To drop an eligible table partition:
- Connect to the ORMB database using a utility named SQL*Plus and the administrator's (for example, CISADM) credentials.
-
Execute the following command:
ALTER TABLE <TABLE_NAME> DROP PARTITION <PARTITION_NAME>
For example,
ALTER TABLE CI_BSEG DROP PARTITION SYS_P0264
Note:When a partition from the parent table is dropped, the corresponding partitions from the child tables are automatically dropped due to reference partitioning. For example, CI_ADJ is a parent table and CI_ADJ_APREQ, CI_ADJ_CALC_LN, CI_ADJ_CHAR, and CI_ADJ_CL_CHAR are its child tables. When you drop a partition from the CI_ADJ table, all corresponding partitions from all child tables are dropped, automatically.
While dropping the table partitions for the Billing module, ensure that all eligible table partitions on the CI_BILL, CI_BSEG, CI_BILL_CHG, and CI_ADJ tables are dropped together for a particular high value date.
This activity of dropping eligible table partitions should be taken up during off peak hours to avoid performance issues.