My Oracle Support Banner

Performance Issue For OSP Receipts (Doc ID 2171660.1)

Last updated on OCTOBER 03, 2018

Applies to:

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

Symptoms

On : 12.1.3 version, Receiving Functions

ACTUAL BEHAVIOR

Performance Issue while performing OSP Receipts.
The recommended patches were applied as per Note 2159054.1 but while receiving PO's which are created for OSP Items, system takes long time to save the receipt.

STEPS TO REPRODUCE

The issue can be reproduced at will with the following steps:
1. Try to create a receipt for OSP item
2. Save the form after entering the form.
3. The system takes long time to save the receipt.

Below are detail sql asking Oracle Support to review.

-. Original SQL> explain plan for SELECT 1 FROM WIP_OSP_JOBS_VAL_V WOJ WHERE
WOJ . WIP_ENTITY_ID = ( SELECT NVL ( WIP_ENTITY_ID , -99 ) FROM
PO_DISTRIBUTIONS_ALL WHERE PO_DISTRIBUTION_ID = :B1 );

Explained.

SQL> SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());

PLAN_TABLE_OUTPUT
------------------------------------------------------------------------------
--
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
------------------------------------------------------------------------------
--
| 0 | SELECT STATEMENT | | 291K| 3697K| | 174K (1)|
|* 1 | VIEW | WIP_OSP_JOBS_VAL_V | 291K| 3697K| | 174K (1)|
| 2 | HASH UNIQUE | | 291K| 28M| 31M| 174K (1)|
|* 3 | HASH JOIN | | 291K| 28M| | 167K (1)|
| 4 | TABLE ACCESS FULL | BOM_RESOURCES | 17094 | 150K| | 99 (2)|
|* 5 | HASH JOIN | | 291K| 25M| 23M| 167K (1)|
|* 6 | HASH JOIN | | 291K| 19M| 242M| 153K (1)|

PLAN_TABLE_OUTPUT
------------------------------------------------------------------------------
--
|* 7 | TABLE ACCESS FULL | WIP_OPERATION_RESOURCES | 8476K| 145M| | 104K (1)|
| 8 | INLIST ITERATOR | | | | | |
| 9 | TABLE ACCESS BY INDEX ROWID| WIP_DISCRETE_JOBS | 81001 | 4271K| | 36584
(1)|
|* 10 | INDEX RANGE SCAN | WIP_DISCRETE_JOBS_N7 | 81001 | | | 462 (1)|
| 11 | TABLE ACCESS FULL | WIP_ENTITIES | 2367K| 45M| | 10025 (1)|
| 12 | TABLE ACCESS BY INDEX ROWID | PO_DISTRIBUTIONS_ALL | 1 | 8 | | 3 (0)|
|* 13 | INDEX UNIQUE SCAN | PO_DISTRIBUTIONS_U1 | 1 | | | 2 (0)|
------------------------------------------------------------------------------
--

-. Patch 22647567 SQL> explain plan for SELECT 1 FROM WIP_OSP_JOBS_VAL_V WOJ
WHERE WOJ . WIP_ENTITY_ID = ( SELECT /*+ unnest */ NVL ( WIP_ENTITY_ID , -99
) FROM PO_DISTRIBUTIONS_ALL WHERE PO_DISTRIBUTION_ID = :B1 );

Explained.

SQL> SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());

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
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.