Error 'ORA-00060: Deadlock Detected' While Executing SAPURGE Batch (Doc ID 1962284.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Retail Sales Audit - Version 13.1 to 13.1.9 [Release 13.1]
Oracle Retail Sales Audit - Version 13.2 to 13.2.9 [Release 13.2]
Oracle Retail Sales Audit - Version 14.0 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior

-----------------

When Sales Audit Purge (SAPURGE.PC) batch runs with huge volume (say one million records), the job runs for six hours and fails with "ORA-00060: deadlock detected ... " error.

Expected Behavior

-----------------


Expecting this batch should run in two minutes for this volume.

Steps to Reproduce:
The issue can be reproduced at will with the following steps:
1. Run SAPURGE.PC with huge records, say one million with Number of Days as parameter.
2. Notice that the batch takes about six hours and fails with ORA-00060 error.

 

Changes

 

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