My Oracle Support Banner

Quick Retropay (Enhanced) Process is Taking Very Long to Complete (Doc ID 2441440.1)

Last updated on APRIL 01, 2021

Applies to:

Oracle Payroll - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

Quick Retropay (Enhanced) performance issue. It is taking very long to complete.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Run Quick Retropay (Enhanced)

Trace shows most expensive sql:

SELECT /*+INDEX(ac2 PAY_ASSIGNMENT_ACTIONS_N51) */
ac2.rowid,
ac2.assignment_action_id
FROM
pay_payroll_actions pac,
pay_assignment_actions act,
per_all_assignments_f asg,
per_all_assignments_f as2,
pay_assignment_actions ac2,
pay_payroll_actions pa2,
pay_action_classifications acl
WHERE pac.payroll_action_id =:b2
AND act.payroll_action_id = pac.payroll_action_id
AND act.assignment_id =:b1
AND asg.assignment_id = act.assignment_id
AND pac.effective_date BETWEEN asg.effective_start_date AND asg.effective_end_date
AND as2.person_id = asg.person_id
AND as2.effective_end_date > pac.effective_date
AND ac2.assignment_id = as2.assignment_id
AND pa2.payroll_action_id = ac2.payroll_action_id
AND pa2.effective_date BETWEEN as2.effective_start_date AND as2.effective_end_date
AND acl.classification_name = 'SEQUENCED'
AND pa2.action_type = acl.action_type
AND pa2.effective_date > pac.effective_date
ORDER BY pa2.effective_date,
ac2.action_sequence
FOR UPDATE OF ac2.assignment_action_id

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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