Order Organizer Performance Issue After Oracle 12c Data Base Upgrade (Doc ID 2169600.1)

Last updated on AUGUST 12, 2016

Applies to:

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

Symptoms


When using the Order Organizer to query an Order Number or a combination of other parameters, the user is unable to continue.  The form is not usable.  It seems this issue started after Oracle 12c data base upgrade.

ERROR

The tkprof file shows the following expensive SQL:

SELECT ORDER_NUMBER,Quote_Date,Quote_Number,User_Status_Code,
 sold_to_site_use_id,sales_document_name,SOLD_TO,ORDER_TYPE,CUSTOMER_NUMBER,
 BLANKET_NUMBER,SOLD_TO_CONTACT,CUST_PO_NUMBER,VERSION_NUMBER,ORDERED_DATE,
 EXPIRATION_DATE,REQUEST_DATE,PRICE_LIST,PRICING_DATE,ACCOUNTING_RULE,
 ACCOUNTING_RULE_DURATION,INVOICING_RULE,TERMS,SHIP_TO,SHIP_TO_LOCATION,
+++++++++++++++++
File Truncated
+++++++++++++++++
 GLOBAL_ATTRIBUTE13,GLOBAL_ATTRIBUTE14,GLOBAL_ATTRIBUTE15,GLOBAL_ATTRIBUTE16,
 GLOBAL_ATTRIBUTE17,GLOBAL_ATTRIBUTE18,GLOBAL_ATTRIBUTE19,GLOBAL_ATTRIBUTE20,
 BOOKED_FLAG,BOOKED_DATE,CANCELLED_FLAG,OPEN_FLAG,ORIG_SYS_DOCUMENT_REF
FROM
OE_ORDER_HEADERS_V WHERE header_id in (select /*+ unnest */ header_id from
 oe_orderorg_GTT ) order by org_id desc,ordered_date desc,order_number desc

call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 1.00 1.00 0 107 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 10857.81 26183.51 31798627 1648046107 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 10858.81 26184.52 31798627 1648046214 0 1



STEPS

1. Order Management User
2. Orders, Returns
3. Order Organizer
4. Query a sales order number
5. The form freezes and users are not able to continue.



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