My Oracle Support Banner

Poor Performance From csiInstGeneralMain.jsp Page (Doc ID 1322259.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Installed Base - Version 11.5.9 and later
Information in this document applies to any platform.

Symptoms

Install Base item instance main page (csiInstGeneralMain.jsp) performs poorly when performing instance update.

Trace file shows that poorly performing query is:

SELECT MMT.CREATION_DATE,
  MMT.TRANSACTION_ID,
  MMT.TRANSACTION_TYPE_ID,
  MMT.TRANSACTION_ACTION_ID,
  MMT.TRANSACTION_SOURCE_TYPE_ID
FROM MTL_UNIT_TRANSACTIONS MUT,
  MTL_MATERIAL_TRANSACTIONS MMT,
  MTL_PARAMETERS MP
WHERE MUT.INVENTORY_ITEM_ID = :B5
AND MUT.SERIAL_NUMBER = :B4
AND MMT.TRANSACTION_ID = MUT.TRANSACTION_ID
AND MMT.TRANSACTION_DATE > :B3
AND MMT.CREATION_DATE < :B2
AND MMT.TRANSACTION_ID <> :B1
AND MP.ORGANIZATION_ID = MMT.ORGANIZATION_ID
AND EXISTS (SELECT 'x'
            FROM MTL_SYSTEM_ITEMS_B MSI
            WHERE MSI.INVENTORY_ITEM_ID = MMT.INVENTORY_ITEM_ID
            AND MSI.ORGANIZATION_ID = MP.MASTER_ORGANIZATION_ID
            AND NVL (MSI.COMMS_NL_TRACKABLE_FLAG, 'N') = 'Y')
UNION
SELECT MMT.CREATION_DATE,
  MMT.TRANSACTION_ID,
  MMT.TRANSACTION_TYPE_ID,
  MMT.TRANSACTION_ACTION_ID,
  MMT.TRANSACTION_SOURCE_TYPE_ID
FROM MTL_UNIT_TRANSACTIONS MUT,
  MTL_TRANSACTION_LOT_NUMBERS MTLN,
  MTL_MATERIAL_TRANSACTIONS MMT,
  MTL_PARAMETERS MP
WHERE MUT.INVENTORY_ITEM_ID = :B5
AND MUT.SERIAL_NUMBER = :B4
AND MTLN.ORGANIZATION_ID = MUT.ORGANIZATION_ID
AND MTLN.SERIAL_TRANSACTION_ID = MUT.TRANSACTION_ID
AND MMT.TRANSACTION_ID = MTLN.TRANSACTION_ID
AND MMT.TRANSACTION_DATE > :B3
AND MMT.CREATION_DATE < :B2
AND MMT.TRANSACTION_ID <> :B1
AND MP.ORGANIZATION_ID = MMT.ORGANIZATION_ID
AND EXISTS (SELECT 'x'
            FROM MTL_SYSTEM_ITEMS_B MSI
            WHERE MSI.INVENTORY_ITEM_ID = MMT.INVENTORY_ITEM_ID
            AND MSI.ORGANIZATION_ID = MP.MASTER_ORGANIZATION_ID
            AND NVL (MSI.COMMS_NL_TRACKABLE_FLAG, 'N') = 'Y')
ORDER BY 1 DESC, 2 DESC;


Explain plan shows expensive full table scan on MTL_TRANSACTION_LOT_NUMBERS table

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.