Poor Performance as Saving Factor List Record Takes Too Long (Doc ID 1344744.1)

Last updated on JULY 10, 2015

Applies to:

Oracle Advanced Pricing - Version 11.5.10 to 12.2.5 [Release 11.5 to 12.2]
Information in this document applies to any platform.
Form:QPXPRMLS.FMB - Modifier Details


Symptoms



On : 11i, Formula Screen and API

ACTUAL BEHAVIOR
---------------
Find that when one adds a new factor to an existing factor list and saves,
that it takes 5 - 6 minutes to complete.

EXPECTED BEHAVIOR
-----------------------
Expects it complete in under 5 seconds.

MOST EXPENSIVE STATEMENT SHOWN
---------------------------------------------------------
Most expensive statement(s) shown:

UPDATE QP_PRICING_ATTRIBUTES A SET A.DISTINCT_ROW_COUNT = (SELECT /*+
INDEX(aa QP_PRICING_ATTRIBUTES_N6) */ COUNT(*) FROM QP_PRICING_ATTRIBUTES
AA
WHERE
AA.PRICING_ATTRIBUTE_CONTEXT = A.PRICING_ATTRIBUTE_CONTEXT AND
AA.PRICING_ATTRIBUTE = A.PRICING_ATTRIBUTE AND AA.PRICING_ATTR_VALUE_FROM =
A.PRICING_ATTR_VALUE_FROM AND NVL(AA.PRICING_ATTR_VALUE_TO,'-x') =
NVL(A.PRICING_ATTR_VALUE_TO,'-x') AND AA.COMPARISON_OPERATOR_CODE =
A.COMPARISON_OPERATOR_CODE AND AA.LIST_HEADER_ID = A.LIST_HEADER_ID AND
AA.PRICING_ATTRIBUTE_CONTEXT IS NOT NULL) WHERE A.LIST_HEADER_ID IN (SELECT
LIST_HEADER_ID FROM QP_LIST_HEADERS_B WHERE LIST_TYPE_CODE = 'PML' AND
LIST_HEADER_ID BETWEEN :B2 AND :B1 )



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Open an existing formula that has a factor
2. Enter a new factor for a buying group using both the base and associated pricing attributes.
3. Then save the record.
The system spins for 5 to 6 minutes.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot keep the pricing on items up-to-date
It is important that we address this issue soon since our pricing (which is captured mainly in these factors) needs to be updated on a continuous basis.

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