Purge Job Auditing Logs (job_audit_logs_purge_job)

Module Name

job_audit_logs_purge_job

Description

Purge Old Job Auditing Logs

Functional Area

Administration

Module Type

Admin - Ad hoc

Module Technology

Background processing

Catalog ID

N/A

Wrapper Script

b8dwrap.ksh

Schedule

Oracle Retail Merchandising Batch Schedule

Design Overview

This background job is composed of one step processing only. This new program/job will use the newly created support program maintain for purging records where affected table is partitioned.

The Business logic program will invoke a call to a new program specific for handling historical logging table that is considered a partitioned table. A package function is called passing the target table name and will execute the proper deletion/purging of records from target table by exercising table partitioning handling such as Dropping Interval Partition (same as truncate or delete from table). There is a STOP ON NEXT feature in bulk processing (through a loop) where Administrators can stop job with a flip of this indicator.

The purge program considered the system parameter setting, Job Logging History Months (job_log_hist_months) to determine those records that are older than a predetermined number of months.

Restart/Recovery

N/A

Key Tables Affected

Table 2-7 Key Tables Affected

Table Select Insert Update Delete

SYSTEM_OPTIONS

Yes

No

No

No

PERIOD

Yes

No

No

No

RMS_BATCH_STATUS

Yes

No

No

No

ALL_TAB_PARTITIONS

Yes

No

No

No

ALL_PART_TABLES

Yes

No

No

No

JOB_AUDIT_LOGS

No

Yes

No

Yes

Design Assumptions

N/A