Refreshing Two or More Materialized View groups leads to Row Update Contention on SYS.MV_REFRESH_USAGE_STATS$ Table
(Doc ID 1902926.1)
Last updated on FEBRUARY 04, 2022
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Oracle Database - Standard Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.
Symptoms
You are refreshing two Materialized View groups as follows:
You may also get this error:
Error Stack Dump -----
ORA-02049: timeout: distributed transaction waiting for lock
----- Current SQL Statement for this session (sql_id=gg0a5w60jw12h) -----
UPDATE SYS.MV_REFRESH_USAGE_STATS$ SET COUNT# = COUNT# + 1 WHERE MV_TYPE# = 'OTHER' AND REFRESH_METHOD# = 'FAST' AND REFRESH_MODE# = 'ON_DEMAND' AND OUT_OF_PLACE# = 'NO' AND ATOMIC# = 'YES'
Cause
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
Symptoms |
Cause |
Solution |
References |