REFRDEL Bypass Procedure

The REFRDEL table maintains a list of deleted records from P6 database tables. However, when an entire project is deleted, a large amount of detailed delete records can be inserted into the REFRDEL table resulting in the potential for downstream performance degradation when joins are made to the REFRDEL table.

The REFRDEL Bypass procedure is an alternative to inserting REFRDEL records for tracking delete records on a large scale. This procedure bypasses the REFRDEL table and simply adds a single delete record for a deleted project and project ID.

By default, the REFRDEL BYPASS procedure is set to 0 (zero).

To enable REFRDEL Bypass, run the following procedure and set to a non-zero value:

SQL> exec SET_REFRDEL_PROJECT_BYPASS(1);

Database triggers check for the value of the REFRDEL BYPASS value and process accordingly.

Note: The bypass procedure is meant only for a PROJECT DELETE operations.

Related Topics

DAMON (Data Monitor) Procedures

BGPLOG_CLEANUP Procedure

CLEANUP_DBERRLOG Procedure

REFRDEL_CLEANUP Procedure

CLEANUP_PRMQUEUE Procedure

USESSION_CLEAR_LOGICAL_DELETES Procedure

CLEANUP_LOGICAL_DELETES Procedure

PAUDIT_CLEANUP Procedure

CLEANUP_PKXREF

CLEANUP_PCKEYXREF

CLEANUP_USESSAUD Procedure

CLEAN_PX_DELETE Procedure

USER_DEFINED_BACKGROUND Procedure



Legal Notices | Your Privacy Rights
Copyright © 1999, 2023

Last Published Thursday, January 12, 2023