Hi All,One of our customers having an issue like that they facing a deadlock in the PROD environment and the trace log files on Database Drive E experienced unexpected growth due to deadlock trace details, leading to the application becoming unavailable.During further analysis, we have identified that the below query is causing the deadlock in the environment ----- SQL Statement for this session -----UPDATE MOBILE_SYNC_DATA_TAB SET SYNC_STATE=DECODE(SYNC_STATE, :B10 , :B10 , :B12 ), REFERENCED_OJBVERSION = :B11 , MODIFIED_COLUMNS = DECODE(SYNC_STATE, :B10 , MODIFIED_COLUMNS, MODIFIED_COLUMNS || '^' || :B9 ) WHERE APP_NAME = :B8 AND ENTITY = :B7 AND REFERENCED_OBJKEY = :B6 AND NOT (APP_NAME = NVL(:B5 , :B3 ) AND DEVICE_ID = NVL(:B4 , :B3 ) AND USER_ID = :B2 ) AND SYNC_STATE <> :B1Can someone help on this to understand how this SQL query can be a reason for a deadlock? What are the possible ways to happen and how we can avoid it tp happening again? IFS Applications 10
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.