Error at creating master group
SQL> begin
dbms_repcat.create_master_repobject (
gname => 'YCKDB',
type => 'table',
oname => 'snaptest',
sname => 'IPSM',
use_existing_object => true,
copy_rows => true);
end;
SQL> /
begin
ERROR at line 1:
ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL
execution], [], [], [], [], [], []
ORA-06544: PL/SQL: internal error, arguments: [77303], [], [], [], [], [], [],
ORA-06553: PLS-801: internal error [77303]
Does the table being added to the replication system contain a long or long raw datatype? If so, you are out of luck, since replication does not support long or long raws. Another possibility is the dblink is not working, or the repadmin does not have all the necessary permissions. Goto to Metalink and get doc_id # 1035874.6 this has a number of steps on troubleshooting replication setup and operation.
Jim
Similar Messages
-
Error when creating master group
I am trying to set up a replication environment with only one master site. I do
it by running SQL script using SQLPlus (rather than using the Wizard). The
following is the script I used to create the master site:
create user REPADMIN identified by REPADMIN;
BEGIN
DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_REPGROUP(
userid => 'REPADMIN');
END;
grant comment any table to REPADMIN;
grant lock any table to REPADMIN;
grant execute any procedure to REPADMIN;
All lines completed successfully. Then I connect as "repadmin" and try to
create a master group. The following is the screen capture when I ran the
SQLPlus:
Connected to:
Oracle7 Server Release 7.3.4.4.1 - Production
With the distributed, replication and parallel query options
PL/SQL Release 2.3.4.4.1 - Production
SQL> BEGIN
DBMS_REPCAT.CREATE_MASTER_REPGROUP(
gname => 'REPGRP01',
qualifier => '',
group_comment => '');
END;
2 3 4 5 6 7 BEGIN
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2121
ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 420
ORA-06512: at "SYS.DBMS_REPCAT", line 45
ORA-06512: at line 2
I have no idea on the error message and even don't how to trace the error.
Is there anything I missed when creating the replication administrator
'repadmin'? Or anything I have to set up as well before I can create a master
group?
p.s.
1) The version of the Database is 7.3.4.4.1
2) I did try to create a master group using the Wizard in DBA studio, but
same error messages appeared.
Thanks in advance.
KaeHi,
Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
For example: You can creates new purchasing groups with USER ID and telephone numbers
Purchasing groups-------------USER ID ---------------Telephone numbers
Z01-----------------------------------USR01------------------232569875
Z02-----------------------------------USR02------------------232589876
Regards,
Biju K -
Error while creating product group
hi,
i am getting error while creating Product group.
Required parameters missing when calling up module
Message no. M3749
Please suggest me.. how to cop this
Regards,
amitDear Brahmankar,
I am using product groups in SOP as well as in the normal plannning scenario.In the normal planning scenario I am giving my PIR's in MD61 for the entire group.Then I am running MRP in MD02 for my product group.System is generating all the requirements normally for the entire group .
Please suggest me , this process is correct or it will create any problem in any module .
Thanks & Regards
Prabhakar -
Error while creating resource group using non-globalzones.
Dear all,
Hi techs please guide me how to create failover resource group in nongloablzones.
I'm getting error while creating resource group using non-globalzones.
My setup:
I have two node cluster running sun cluster 3.2 configured and running properly.
node1: sun5
nide2: sun8
I have create non-globalzone "zone1" in node:sun5
I have create non-globalzone "zone2" in node:sun8
node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
*(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
Thanks in advance,
veera
Edited by: veeraa on Dec 19, 2008 1:54 AMHi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
How to create master group in Portal - Segment Builder?
Hi All,
May i know how to create master group by using existing target group in segment builder PCUI in portal?
I manage to do it in sapgui:
tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
Can guide me on this?
Appreciated your guide. Thanks.
Regards,
wyeeHi All,
May i know how to create master group by using existing target group in segment builder PCUI in portal?
I manage to do it in sapgui:
tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
Can guide me on this?
Appreciated your guide. Thanks.
Regards,
wyee -
Error while Creating Master Repository: ORA-01031: insufficient Privileges
Hi,
I'm trying to install ODI into my VM.
I have done the installation and while creating Master Repository, I'm getting following error:
ORA-01031: insufficient Privileges
I'm using Oracle & have created user as ODI_MASTER with Admin Privileges.
I'll be using it to load metadata onto planning (Version 11.1.2)
Is there anything that I'm missing out on.
Jitendra.Seems missing grants on the user you are using to create Master Repository.
you are using Oracle .. grant connect, resource to <your_user>. These two rolesa have sufficient access to db to create the master repository.
execuute the sql from sys user
Regards,
Amit
Edited by: amitgupta1202 on 20 Aug, 2009 10:42 PM -
Hi,
When i tried to create cache group i am getting below error
CREATE READONLY CACHE GROUP customer_orders
FROM myuser.customer
(cust_num NUMBER(6) NOT NULL,
region VARCHAR2(10),
name VARCHAR2(50),
address VARCHAR2(100),
PRIMARY KEY(cust_num)),
myuser.orders
(ord_num NUMBER(10) NOT NULL,
cust_num NUMBER(6) NOT NULL,
when_placed DATE NOT NULL,
when_shipped DATE NOT NULL,
PRIMARY KEY(ord_num),
FOREIGN KEY(cust_num) REFERENCES myuser.customer(cust_num)) ;
5220: Permanent Oracle connection failure error in OCIServerAttach(): ORA-12154: TNS:could not resolve the connect identifier specified rc = -1
5131: Cannot connect to backend database: OracleNetServiceName = "orcl_db", uid = "XXXXXXX", pwd is hidden, TNS_ADMIN = "C:\TimesTen11.2.2", ORACLE_HOME= ""
But my Oracle database Name is MYdatabase
Oracle LSNRCTL
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 07-AUG-2012 10:31:38
Uptime 4 days 3 hr. 1 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\TimesTen11.2.2\listener.ora
Listener Log File E:\app\XXXXXXX\diag\tnslsnr\localhost\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
Services Summary...
Service "MYdatabaseXDB" has 1 instance(s).
Instance "MYdatabase", status READY, has 1 handler(s) for this service...
Service "MYdatabase" has 1 instance(s).
Instance "MYdatabase", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
how to change OracleNetServiceName = "orcl_db" to OracleNetServiceName = "MYdatabase"
Thanks!You should create the cache groups by using cachadmin user, not use object owner user.
In Oracle DB:
SQL> @grantCacheAdminPrivileges "cacheadmin"
Please enter the administrator user id
The value chosen for administrator user id is cacheadmin
***************** Initialization for cache admin begins ******************
0. Granting the CREATE SESSION privilege to CACHEADMIN
1. Granting the TT_CACHE_ADMIN_ROLE to CACHEADMIN
2. Granting the DBMS_LOCK package privilege to CACHEADMIN
3. Granting the RESOURCE privilege to CACHEADMIN
4. Granting the CREATE PROCEDURE privilege to CACHEADMIN
5. Granting the CREATE ANY TRIGGER privilege to CACHEADMIN
6. Granting the DBMS_LOB package privilege to CACHEADMIN
7. Granting the SELECT on SYS.ALL_OBJECTS privilege to CACHEADMIN
8. Granting the SELECT on SYS.ALL_SYNONYMS privilege to CACHEADMIN
9. Checking if the cache administrator user has permissions on the default
tablespace
Permission exists
11. Granting the CREATE ANY TYPE privilege to CACHEADMIN
********* Initialization for cache admin user done successfully *********
SQL>In TimesTen:
Command> CREATE USER cacheadmin IDENTIFIED BY oracle;
User created.
Command> GRANT CREATE SESSION, CACHE_MANAGER, CREATE ANY TABLE, DROP ANY TABLE TO cacheadmin;
Command>
Command> CREATE USER oratt IDENTIFIED BY oracle;
User created.
Command> grant create session to oratt;
Command>
[oracle@tt1 ~]$ ttIsql "DSN=db_cache;UID=cacheadmin;PWD=oracle;OraclePWD=oracle"
Copyright (c) 1996-2010, Oracle. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
connect "DSN=db_cache;UID=cacheadmin;PWD=oracle;OraclePWD=oracle";
Connection successful: DSN=db_cache;UID=cacheadmin;DataStore=/u01/app/oracle/datastore/db_cache;DatabaseCharacterSet=AL32UTF8;ConnectionCharacterSet=US7ASCII;DRIVER=/u01/app/oracle/product/11.2.1/TimesTen/tt1/lib/libtten.so;PermSize=100;TempSize=32;TypeMode=0;CacheGridEnable=0;OracleNetServiceName=ORCL;
(Default setting AutoCommit=1)
Command> call ttCacheUidPwdSet('cacheadmin','oracle');
Command>
Command> CREATE READONLY CACHE GROUP readcache
> AUTOREFRESH INTERVAL
> 5 SECONDS
> FROM oratt.readtab (
> a NUMBER NOT NULL PRIMARY KEY,
> b VARCHAR2(100) );
Command> Additionally dont forget to issue the grants for cacheadmin user in Oracle DB
SQL> GRANT SELECT ON readtab TO cacheadmin;
Grant succeeded.Regards,
Gennady -
Error when creating purchasing group.
Hi,
i am facing two issue when creating purchasing group. i never had such a situation before.
i have created two p.groups successfully and moved to quality.later i figured one of them is missing USER ID now when i try to enter user ID in user column getting below mention error.
Entry XXXX Does not exist in USR02-check your entry.message no 00058.i have checked in USR02 None of ID's exist i used in newly created groups.but ID i used in other groups has no issue even doesn't exist in USR02,but it shows value US in OB(Object type filed).
both ID's are not being created in Development in other words SAP ID's with SU01 but we never had such issue before while changing or creating now purchasing group.
Another thing i have noticed that OB(Object type field is missing in Dev.) i can see that field in Quality even in sand box but not visible in Dev.that when i use OME4.but when i use SM30-V_024 i can see the OB field.Somehow OB field is hidden when going through SPRO or ME04.
This is about Sap ver.4.7
Suggestion are much appreciated.Hi,
Before creating new purchasing groups- 1st check your user ID is authorized to purchasing groups create in t.code: OME4.
In development system you can creates new purchasing groups with USER ID and telephone numbers, upon saving system will create a transport request. Later you can transfer related transport request to quality system for your testing.
For example: You can creates new purchasing groups with USER ID and telephone numbers
Purchasing groups-------------USER ID ---------------Telephone numbers
Z01-----------------------------------USR01------------------232569875
Z02-----------------------------------USR02------------------232589876
Regards,
Biju K -
Error while creating master repository.......
Hi All,
While creating master repository........
Test Connection is successful.
After that i had selected technology as Oracle
when i clicked on ok, one error has pop up: java.sql.SQLException: ORA-00907: missing right parenthesis
What i have to do after this....?
Regards,
DineshWhich model are you talking about?
I'm quiet sure that you have to change the TECH_ORACLE.xml.
Are you sure that u have modified the file
oracledi\lib\scripts\xml\TECH_Oracle.xml
and not the file
oracledi\impexpTECH_Oracle.xml
For the certification :
The Repository can be installed on any relational database engine supporting ANSI ISO 89 syntax, such as Oracle, Microsoft SQL Server, Sybase AS Enterprise, IBM DB2 UDB, IBM DB2/400, etc.
You can also use for evaluation purposes the demo repository provided with Oracle Data Integrator. This repository is based on an Hypersonic SQL Database. and requires no particular installation.
I don't have any other information sorry! -
Error while creating Product Group in SOP
HI Gurus,
When I am trying to create the product group in SOP in MC84 , I get follwoing error.
"Product group cannot be created (batch input error 7) Message no. MA218"
how to slove this?
Thanks in advance.
RGRajiv,
Basically if there are mismatch in the Field selection and fields visible in MC84 you would get this error.
The workaround suggested by SAP is to create a product group using MM01 with material type PROD, latter on using the change product group transaction MC86 you can assign its members.
Regards,
Prasobh -
Error when creating product group
Hai frnds,
While creating a product group the following error occurs
REQUIRED PARAMETERS MISSING WHEN CALLING UP MODULE
help me in the issue
regards
Karthik.bHi,
Please refer this thread,
https://www.sdn.sap.com/irj/sdn/profile?userid=3781605
Regards,
R.Brahmankar -
Error in creating function group
Hi
In my z function group, do i need to declare all the parameters used in function modules explicitly in any top include?.it was not declared as such in the standard function group from which i copied .Hello ,
Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .
then
goto SE37
Enter the fucntion module and get into function bulinder
select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS Just do that operation u will be free of errors.
regards -
Getting error while creating report group using T code GR52
HI All,
Below error is coming while generating report group in T code GR52
"Set 01010002SSS6EL0001 does not contain any entries "
Thanks in Advance......Hi Veera,
Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
zoneadm list -iv
If zone1 or zone2 are not running then boot and configure them
zoneadm -z <zone> boot
zlogin -C <zone>
After that you can continue to follow the step by step instructions at
http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
These may also help
http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
Regards
Neil -
Error in creating a group using createItemRequest
Hi Preston,
I am using createItemRequest for a creating group.
The code is as follows:
gwWB.createItemRequest oCreateAddBookEntryReq = new gwWB.createItemRequest();
gwWB.createItemResponse oCreateAddBookEntryResp ;
gwWB.ContainerRef oContRef = new gwWB.ContainerRef();
gwWB.Group oGroup = new gwWB.Group();
oContRef.Value = sAddBookID;
gwWB.ContainerRef[] oContainerRef = new gwWB.ContainerRef[1];
oContainerRef[0] = oContRef;
oGroup.container = oContainerRef;
oGroup.name = sName;
oGroup.comment = sComments;
oGroup.distinguishedName = sDistinguishedName;
oGroup.domain = sDomain;
oGroup.PABGuid = sPABGUID;
oGroup.postOffice = sPostOffice;
oGroup.userid = sUserID;
oGroup.uuid = sUuid;
oGroup.visibility = GetVisibility(oAddBookEntry.Visibility);
oGroup.customs = null;
oGroup.categories = null;
oGroup.members = null;
oCreateAddBookEntryResp = oUserBinding.createItemRequest(oCreateAddBookEntry Req);
if(oCreateAddBookEntryResp.status.code == 0)
string sNewAddBookEntryID = oCreateAddBookEntryResp.id[0];
createItemResponse is returning Status code as 0 and the id field for group as null. When i see the group in the Address Book , a message box pops up that the group cannot be opened.I'm confused at what you are trying to create.
Some of the fields are only available on a
system address book entry. You can't create a
system address book group from SOAP.
What does the SOAP trace look like for the
the create item request and response and
when you try to get the group after that?
Preston
>>> On Friday, March 12, 2010 at 12:46 AM,
shwetajain<[email protected]> wrote:
> Hi Preston,
>
> I am using createItemRequest for a creating group.
>
> The code is as follows:
> gwWB.createItemRequest oCreateAddBookEntryReq = new
> gwWB.createItemRequest();
> gwWB.createItemResponse oCreateAddBookEntryResp ;
> gwWB.ContainerRef oContRef = new gwWB.ContainerRef();
> gwWB.Group oGroup = new gwWB.Group();
> oContRef.Value = sAddBookID;
> gwWB.ContainerRef[] oContainerRef = new
> gwWB.ContainerRef[1];
> oContainerRef[0] = oContRef;
> oGroup.container = oContainerRef;
> oGroup.name = sName;
> oGroup.comment = sComments;
> oGroup.distinguishedName = sDistinguishedName;
> oGroup.domain = sDomain;
> oGroup.PABGuid = sPABGUID;
> oGroup.postOffice = sPostOffice;
> oGroup.userid = sUserID;
> oGroup.uuid = sUuid;
> oGroup.visibility =
> GetVisibility(oAddBookEntry.Visibility);
> oGroup.customs = null;
> oGroup.categories = null;
> oGroup.members = null;
> oCreateAddBookEntryResp =
> oUserBinding.createItemRequest(oCreateAddBookEntry Req);
> if(oCreateAddBookEntryResp.status.code == 0)
> {
> string sNewAddBookEntryID =
> oCreateAddBookEntryResp.id[0];
> }
>
> createItemResponse is returning Status code as 0 and the id field for
> group as null. When i see the group in the Address Book , a message box
> pops up that the group cannot be opened. -
Error while creating MV replication group object
Hi,
I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
OEM error
This error while creating M.V. rep. group object
There is a table or view named SCOTT.EMP.
It must be dropped before a materialized view can be created.
In SQLPLUS
SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
Connected.
SQL>
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
3 gname => 'SCOTT',
4 sname => 'KARTHIK',
5 oname => 'emp_mv',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
9 /
BEGIN
ERROR at line 1:
ORA-23306: schema KARTHIK does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
ORA-06512: at "SYS.DBMS_REPCAT", line 1332
ORA-06512: at line 2
Please not already I have created KARTHIK schema.Arthik,
I think I know what may have happened.
As I can see you are trying to create support for an updateable materialized view.
You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
From the code you have shown, I bet the owner of table EMP is SCOTT.
From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
Please check the documentation at the link below
http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
I'll skip some of the steps that I used to create the replication environment.
I have two databases, DB1.world and DB2.world
On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
SQL> conn scott/*****@DB2.world
Connected.
SQL>create materialized view log on EMP with primary key;
Materialized view log created.
SQL>
SQL>conn repadmin/*****@DB2.world
Connected.
SQL>BEGIN
2 DBMS_REPCAT.CREATE_MASTER_REPGROUP(
3 gname => 'GROUPA',
4 qualifier => '',
5 group_comment => '');
6* END;
PL/SQL procedure successfully completed.
SQL>BEGIN
2 DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
3 gname => 'GROUPA',
4 type => 'TABLE',
5 oname => 'EMP',
6 sname => 'SCOTT',
7 copy_rows => TRUE,
8 use_existing_object => TRUE);
9* END;
10 /
PL/SQL procedure successfully completed.
SQL> BEGIN
2 DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
3 sname => 'SCOTT',
4 oname => 'EMP',
5 type => 'TABLE',
6 min_communication => TRUE);
7 END;
8 /
PL/SQL procedure successfully completed.
SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
PL/SQL procedure successfully completed.
SQL> select status from dba_repgroup;
STATUS
NORMAL Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
SQL>conn mviewadmin/****@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.MAKE(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => '',
5 next_date => SYSDATE,
6 interval => '/*1:Hr*/ sysdate + 1/24',
7 push_deferred_rpc => TRUE,
8 refresh_after_errors => TRUE,
9 parallelism => 1);
10 END;
11 /
PL/SQL procedure successfully completed.
SQL> BEGIN
3 DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
5 gname => 'GROUPA',
7 master => 'DB2.wolrd',
9 propagation_mode => 'ASYNCHRONOUS');
11 END;
12 /
PL/SQL procedure successfully completed.
SQL>conn myuser/*****@DB1.world
Connected.
SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
2 REFRESH FAST
3 FOR UPDATE
4 AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
5* FROM [email protected];
Materialized view created.
SQL>conn mviewadmin/******@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.ADD(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => 'MYUSER.EMP_MV',
5 lax => TRUE);
6 END;
7 /
PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
3 gname => 'GROUPA',
4 sname => 'MYUSER',
5 oname => 'EMP_MV',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
9 /
BEGIN
ERROR at line 1:
ORA-23306: schema MYUSER does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
ORA-06512: at "SYS.DBMS_REPCAT", line 1332
ORA-06512: at line 3 I reproduced exactly the same error message.
So the problem is clearly in the schema name that owns the materialized view.
Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
SQL>conn scott/****@DB1.world
Connected.
SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
2 REFRESH FAST
3 FOR UPDATE
4 AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
5* FROM [email protected];
Materialized view created.
SQL>conn mviewadmin/******@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.ADD(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => 'SCOTT.EMP_MV',
5 lax => TRUE);
6 END;
7 /
PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
3 gname => 'GROUPA',
4 sname => 'SCOTT',
5 oname => 'EMP_MV',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
-- Mihajlo
Message was edited by:
tekicora
Maybe you are looking for
-
Best practice for upgrading task definition in production system
If I try and update a task definition with task instances running I get the following error: Task definition 'My Task - Add User' may not be modified while there are active task instances Is there a best practice to handle this. I tried to force an u
-
Optional Multi-Value Parameters in a URL
I have 3 summary reports, that each need to hyperlink to 4 detail reports. The summary reports use multi-value string parameters that are set to "optional" (this is crystal 2008). I need to construct URLs to support these optional parameters. The ope
-
DRMK when booting to W7 from grub
Hi. I've got myself a brand new Precision M4600 laptop, and decided to dual boot Archie and Windows 7. So I received the Precision with w7 installed, btw i've got a 256gb SSD which is partitioned as shown: [ama@ama-precision ~]$ sudo fdisk -l Disk /d
-
Javascript API and Player Control
Spent hours the last few days digging through the forums, documentation, and WIKI to see if I could find some answers. Unofrtunately, thus far, the data is sparse. Can somebody direct me to some documentation on the Javascript API and what events a
-
Hi Experts, IS there any link between VBAK and LIPS (VBELN AND VGBEL). Data is flow from header level VBAK to Item level LIPS is correct or Item level to item level. Regards Rahul