My Oracle Support Banner

Poor Performance for API OE_ORDER_PUB During Order Creation (Doc ID 2713120.1)

Last updated on MAY 02, 2024

Applies to:

Oracle Advanced Pricing - Version 12 and later
Oracle Order Management - Version 12 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR

Find that call to API Oe_order_pub.process_order for order creation is taking around 12 min for an order with 15 lines.

EXPECTED BEHAVIOR

Expected completion time is at the maximum of 3 minutes

STEPS

The issue can be reproduced at will with the following steps:
1. Run custom wrapper code which calls API oe_order_pub.process_order to create sales order


EXPENSIVE PRICING SQL STATEMENTS



call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse       16      0.00       0.00          0          0          0           0
Execute  51600      2.43       2.45          0          0          0           0
Fetch    51600     29.96      30.21          0   49381200          0       51600
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total   103216     32.40      32.66          0   49381200          0       51600

SQL ID: 4wych4wshumsu Plan Hash: 820017749

*******************************************************************************

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.