PurgePriceHistories Job Hangs and Times Out (Doc ID 1684197.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Store Inventory Management - Version 13.1.6 to 13.1.9 [Release 13.1]
Information in this document applies to any platform.

Symptoms

In Oracle Retail Store Inventory Management (SIM) 13.1.x, the PurgePriceHistories batch hangs and and aborts after a lengthy time executing.  In the reproducible scenario, there are 15 million records in the LE_HST_ITM_SLS_PRC table.


Steps to Reproduce:

  1. Set the value for 'Days to Hold Price History' to 90 days.
  2. Have approximately 15 million records in LE_HST_ITM_SLS_PRC table.
  3. Run batch job "PurgePriceHistories.sh".
  4. Notice that the job runs for a long time before aborting.

Cause

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