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 03, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 12.1]
Oracle Database - Standard Edition - Version 22.214.171.124 to 126.96.36.199 [Release 12.1]
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