Performance issue with query
Hi Team,
We are using oracle database 19.17 version.
We identified performance issue with attached query, consuming 100% CPU. At the same time we have seen multiple sessions with event TCP Socket (KGAS). Does this event consume memory and CPU or will it wait for IO? Please share your expertise.
------------------------------------------------------------------------------------------------------------------------------------------------------
SQL_ID a1br484bbbwhw, child number 0
-------------------------------------
SELECT ADT.ACCOUNT FROM XXMMS.XXMMS_INV_ITEM_ACCOUNT_DTL_TBL ADT,
XXMMS.XXMMS_INV_ITEM_ACCOUNT_HDR_TBL AHT, (SELECT * FROM JSON_TABLE (
FUSION_API_CALL(:B1 || '/fscmRestApi/resources/11.13.18.05/inventoryTran
sactionTypes?q=TransactionTypeName=''TTD Stock
Consumption''&limit=200000' , :B2 , 'GET', ''), '$.items[*]' COLUMNS (