The current workflow to run this SQL: SELECT T1. WFPrcId, T1. WFTaskCod, T1. WFItemId, T1. WFItemUsrCod, T1. WFItemStsAct, T2. WFTaskCls, T1. WFItemRolCod, T1. WFItemRscAsgType, T1. WFStsCod, T1. WFItemPrvSta FROM (WFWrkItems T1 INNER JOIN WFTask T2 ON T2. WFPrcId=T1. WFPrcId AND T2. WFTaskCod=T1. WFTaskCod) WHERE T1. WFItemId=1028476813 ORDER BY T1. WFItemId FOR UPDATE OF T1. The WFItemUsrCod, T1. WFItemRolCod, T1. WFItemRscAsgType, T1. WFStsCod, T1. WFItemPrvSta NOWAIT
Will be stuck, oracle server process CPU utilization ratio to 99%,
But moving the database into a Windows system environment in all normal, SQL execution without stuck phenomenon, hope to help to troubleshoot, some professional analysis to problem, thank you very much
CodePudding user response:
As well as a table structure on Windows and Linux? Including indexes on tablesAmount of data as well?
Sentences SQL execution?
CodePudding user response:
Try to collect statisticsCodePudding user response:
On Windows from the Linux database is my use expdp guide in the past, right, this is the SQL from the application background I find out the error of SQL, I sentence execution, on Linux is jammed, 99% CPU that session,CodePudding user response: