Row Lock Contention Updating Rows In WC_NAVIGATION_ACTIVITY
(Doc ID 1954421.1)
Last updated on MAY 17, 2018
Applies to:Oracle WebCenter Portal - Version 184.108.40.206.4 to 220.127.116.11.4 [Release 11g]
Information in this document applies to any platform.
During performance testing, users experience very slow performance navigating the WebCenter Portal site with 50 concurrent users.
Pages are taking up to 50 seconds to load. WebLogic server is showing an increase in the Hogging Thread Count.
During this performance test, it was found that the table WC_NAVIGATION_ACTIVITY had a lot of "enq: TX - row lock contention" wait events. After sometime, the database sessions all complete their update on the table WC_NAVIGATION_ACTIVITY.
Database Analysis of performance test:
- Sessions were running via ‘anonymous’ application user.
- The sessions were getting queued up one after the other and were constantly stuck on ‘enq: TX - row lock contention’ wait event. This was because all of them were trying to run the below update statement:
- The SQL statement above will try to update all records for a specific user_id (in this case ‘anonymous’) in the WC_NAVIGATION_ACTIVITY table, causing Row Lock Contention for all the other sessions that are connected as ‘anonymous’ user.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!