My Oracle Support Banner

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

Last updated on MARCH 05, 2019

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.


Actual Behavior


When SAPURGE.PC (Sales Audit Purge) 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.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.