Help required to tune the query
Hi, Can anyone please help me in resolving the performance issue of below query. Autotrace file is also attached.
Query :-
(SELECT /*+ PARALLEL */
bom.plan_level, component_item_id,
(SELECT segment1
FROM mtl_system_items_b
WHERE inventory_item_id =
bom.component_item_id
AND organization_id = in_org_id)
component_name,
(SELECT planning_make_buy_code
FROM mtl_system_items_b
WHERE inventory_item_id =
bom.component_item_id
AND organization_id = in_org_id)
make_or_buy_component,
msb.inventory_item_id parent_assembly
FROM bom_explosions bom, mtl_system_items_b msb
WHERE bom.top_item_id = p_item_id