cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle DB blocks for cartentries table(UPDATE cartentries)

riazmohamed
Explorer
733

We are seeing db blocks coming from cart randomly.

I have seen main blocker coming from Update Cartentries always:

UPDATE cartentries SET hjmpTS = :1 ,modifiedTS=:2 ,p_calculated=:3 ,p_taxvaluesinternal=:4 WHERE PK = :5

This db blocks affects delete or other cart operations.

This db block affects the whole website and its very slow and once we kill the db blocks then site would perform normally.

We have around 10M records in cartentries table.

anyone know how to fix this issue or reduce the number of db blocks.

thanks in advance.

Accepted Solutions (0)

Answers (5)

Answers (5)

stefanweis
Participant

we're having the exact same issue

0 Kudos

riazmohamed did you find any solution for this ? can you please let me know

JamesZ
Product and Topic Expert
Product and Topic Expert
0 Kudos

<All are enq: TX - row lock contention in the v$session table>
=> Then this is more like an application lock wait issue, let us see input from application person.
Also there is little change for database issue, but you don't have dba_hist_active_sess_history, then it is hard to track from database.

JamesZ
Product and Topic Expert
Product and Topic Expert
0 Kudos

So it is 37 sessions are blocked? What is the wait event in v$session, v$active_session_history, dba_hist_active_sess_history. Is it "enq: row lock contention", if so, then it is pure application lock (very high chance), sometime it is due to database performance (less chance).

To dig further, if you can export 5 minutes data for the time when the issue was happening from dba_hist_active_sess_history. Then we can know more information from database level.

riazmohamed
Explorer
0 Kudos

All are enq: TX - row lock contention in the v$session table

PFA the imagevsession-result.png

dba_hist_active_sess_history table return 0 record

thank you

JamesZ
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you share more about the "Oracle DB blocks" you meant? Did you see oracle event "enq: row lock contention"?

Best regards,
James (I am mainly focusing on SAP NetWeaver on Oracle topic).

riazmohamed
Explorer
0 Kudos

Sorry for the late reply , yes , please find attached the screenshot for the same db-blocks.png