Refreshing Two or More Materialized View groups leads to Row Update Contention on SYS.MV_REFRESH_USAGE_STATS$ Table
Last updated on APRIL 05, 2017
Applies to: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]
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'
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms