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

Last updated on FEBRUARY 06, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 11.2.0.2 - Release: 8.1.7 to 11.2
Information in this document applies to any platform.

Symptoms

Multi-master 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
pool","DBMS_SNAPSHOT_UTL","PL/SQL MPCODE","BAMIMA: Bam Buffer")
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

Cause

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