Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Buffer busy waits and bitmap index block ,enq: TX - row lock contention

perfdbaJan 25 2017 — edited Jan 28 2017

hi Friends,

3 application update queries on the same table ran into buffer busy waits (with P3 bitmap index block and bitmap block) and enq: TX - row lock contention,last night. This problem wasnt seen earlier anytime. No other issues were seen in the DB , CPU utilisation was <30% on the host. DB version:11.2.0.4.0

The application table and the LOBS have freelist=1.The current_obj# for the buffer busy waits is the LOB segment which is getting updated.

Question is:

1. What does bitmap index block & bitmap block mean?

2. Will the freelist increasing solve the problem from appearing anytime in future. We have upto 10 concurrent updates on this table. Or the root cause can be something else?

ASH:

pastedImage_1.png

1st sql:

UPDATE TABLE_1 SET LOB_COL1=:1 , BN=:2 ,

UPDATE_DATE=sysdate WHERE customer_id=:3

2nd sql:

UPDATE TABLE_1 SET LOB_COL2=:1 , BN=:2 ,

UPDATE_DATE=sysdate WHERE customer_id=:3

3rd sql:

UPDATE TABLE_1 SET LOB_COL3=:1 , BN=:2 ,

UPDATE_DATE=sysdate WHERE customer_id=:3

4th sql

From ASH: p3 = 12,11 for buffer busy waits

pastedImage_4.png

from AWR:

pastedImage_0.png

From Diagnosing buffer busy waits with the ash_wait_chains.sql script (v0.2) | Tanel Poder's Performance & Troubleshooting bl… script i got the below output during that time for the top sql:

pastedImage_3.png

This post has been answered by Jonathan Lewis on Jan 27 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2017
Added on Jan 25 2017
33 comments
3,737 views