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 AUGUST 02, 2020
Applies to:Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 12.1]
Oracle Database - Standard Edition - Version 126.96.36.199 to 188.8.131.52 [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.
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'
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