Row Lock Contention Updating Rows In WC_NAVIGATION_ACTIVITY
(Doc ID 1954421.1)
Last updated on FEBRUARY 08, 2019
Applies to:Oracle WebCenter Portal - Version 188.8.131.52.4 to 184.108.40.206.4 [Release 11g]
Oracle WebCenter Portal - Version 220.127.116.11.2 and later
Information in this document applies to any platform.
During performance testing, users are 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:
UPDATE WC_NAVIGATION_ACTIVITY SET EXT_ATTR1 = :1 , EXT_ATTR2 = :2 WHERE (USER_ID = :3 )
- 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!
In this Document