Order Organizer Performance Issue In 12.2.X using oe_orderorg_gtt (Doc ID 1988451.1)

Last updated on AUGUST 24, 2017

Applies to:

Oracle Order Management - Version 12.2 to 12.2.4 [Release 12.2]
Information in this document applies to any platform.

Symptoms

On : 12.2.4 version, Upgrade related issues

Order Organizer Performance Issue In 12.2.4
After recent upgrade from 11.5.10.2 to 12.2.4 severe performance issue is observed when trying to query data using Order Organizer

Below is the Query that consumes maximum time (Only part of the Select is provided here)

 

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,
SHIP_TO_ADDRESS1,SHIP_TO_ADDRESS2,SHIP_TO_ADDRESS3,SHIP_TO_ADDRESS4,...
.

.

.
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

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