if query running very slow then add this /*+ optimizer_features_enable('12.1.0.2') */
ex:
select /*+ optimizer_features_enable('12.1.0.2') */ * from dual;
SELECT /*+ optimizer_features_enable('12.1.0.2') */ ACTUAL_COST FROM cst_cg_cost_history_v cst
where cst.inventory_item_id = MMT.INVENTORY_ITEM_ID
AND TRUNC(cst.TRANSACTION_DATE) = TRUNC(MMT.TRANSACTION_DATE)
and cst.organization_id = mmt.organization_id
This blog is sharing knowledge of my experience and others. Please do test in your test environment before deploying into prod instance.
Search This Blog
Tuesday, September 10, 2024
oracle ebs r12 19c database query running slow solution ex: cst_cg_cost_history_v view
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment