Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 








ORA-23313 error when calling CREATE_MASTER_REPGROUP

Oracle Database Tips by Donald Burleson

Question: I'm using the great book "Oracle Replication" as my guide, and I'm getting an ORA-23313 error when calling CREATE_MASTER_REPGROUP:

gname => '&&replication_mgroup_name.',
master => '&&master_linkname.',
propagation_mode => 'ASYNCHRONOUS');

as repadmin on the UMV (remote) site, I get...

ORA-23313: object group "PUBLIC"."ROADOCCS_MASTER_REPGROUP" is not mastered at GISDB_DB.TMC
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2456
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 1779
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 64
ORA-06512: at "SYS.DBMS_REPCAT", line 1262
ORA-06512: at line 2

I have been over the code that many times my brain is spinning.

I do NOT want to use any GUI tools as I am remote from the client site AND they want a PL/SQL script that can be run in a data centre and does not depend on such tools.

I have read the Oracle 10g documentation and, as is usual with Oracle documentation, quite confused as the doco's example involves multi-master sites (3) with 2 UMV sites. The doco talks about "proxy_mviewadmin" and "proxy_refresher" users along with things like ...

next_date => SYSDATE,
interval => 'SYSDATE + 1/24',
delay_seconds => 0);

Answer: As a prerequisite to calling CREATE_MVIEW_REPGROUP from your remote site, you must first run DBMS_REPCAT.CREATE_MASTER_REPGROUP and DBMS_REPCAT.CREATE_MASTER_REPOBJECT on the master site.  Here are details on the ORA-23313 error from the docs:

ORA-23313: object group "name" is not mastered at name

Cause: The group name is null, the group name is misspelled, the invocation database is not a master, or the invocation database does not believe the given database is a master.

Action: If the given group name was correct, connect to a current master and retry the request, make the invocation database a master with ADD_MASTER_DATABASE, or use SWITCH_SNAPSHOT_MASTER if the invocation database is a snapshot site. For more information about adding a master site and changing a snapshot site's master, see the index entries on "master sites, creating," "changing, master definition site," "ADD_MASTER_DATABASE," "SWITCH_SNAPSHOT_MASTER" in Oracle8 Server Distributed Systems.

Before you can call CREATE_MVIEW_REPGROUP to create the Materialized View group, you must first create the REPGROUP at your Master site, in your case, at &&master_linkname.


If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.