My Oracle Support Banner

Replication Stopped Working during refresh due to Error Ora--04031 (Doc ID 329577.1)

Last updated on AUGUST 27, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


Multi-Primary replication push fails with error ORA-04031.
Found these errors in the trace file:
*** SESSION ID:(12.91) 2005-07-25 16:06:38.494
*** 2005-07-25 16:06:38.494
ORA-12012: error on auto execute of job 42
ORA-04031: unable to allocate 4096 bytes of shared memory ("shared
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 617
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 674
ORA-06512: at "SYS.DBMS_IREFRESH", line 577
ORA-06512: at "SYS.DBMS_REFRESH", line 211
ORA-06512: at line 1


To view full details, 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 a vibrant support community of peers and Oracle experts.