Stock Ledger Table Maintenance (stock_ledger_purge_job)

Module Name

stock_ledger_purge_job

Description

Stock Ledger Table Maintenance

Functional Area

Stock Ledger

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. It will retain the business logic processing from the original batch program algorithm.

The Business logic program will invoke a call to a new program specific for handling historical tables such as Half Data table, and so on. that are considered partitioned tables. PARTITION_SQL.PURGE_INTERVAL_PARTITION is called passing each target table names "HALF_DATA", "DAILY_DATA", "WEEK_DATA", and "MONTH_DATA" This called program 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).

Restart/Recovery

N/A

Locking Strategy

N/A

Security Considerations

N/A

Performance Considerations

N/A

Key Tables Affected

Table 17-3 Key Tables Affected

Table Select Insert Update Delete

SYSTEM_OPTIONS

Yes

No

No

No

SYSTEM_VARIABLES

Yes

No

No

No

RMS_BATCH_STATUS

Yes

No

No

No

JOB_AUDIT_LOGS

No

Yes

No

No

ALL_PART_TABLES

Yes

No

No

No

ALL_TAB_PARTITIONS

Yes

No

No

No

HALF_DATA

No

No

No

Yes

DAILY_DATA

No

No

No

Yes

WEEK_DATA

No

No

No

Yes

MONTH_DATA

No

No

No

Yes

I/O Specification

N/A