Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem in Mat view execution through dblinks

Nagaraju PJul 18 2012 — edited Jul 18 2012
HI Experts,

I am refreshing MAT_VIEW's via dblinks. But during refresh i am getting below error.

I tried both with Complete and Fast. Both are getting errors.

Seems i missed some privilages.

Please assist me here..

With Fast option
*===========*

SQL> exec dbms_mview.refresh('CDS_BANK_BRANCH_NLD',*'F'*);
BEGIN dbms_mview.refresh('CDS_BANK_BRANCH_NLD','F'); END;

*
ERROR at line 1:
ORA-12018: following error encountered during code generation for
"ACCOUNTINFO"."CDS_BANK_BRANCH_NLD"
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2256
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2462
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2431
ORA-06512: at line 1

With Complete Option
--------------------------------

SQL> exec dbms_mview.refresh('CDS_BANK_BRANCH_NLD',*'C'*);
BEGIN dbms_mview.refresh('CDS_BANK_BRANCH_NLD','C'); END;

*
ERROR at line 1:
ORA-12018: following error encountered during code generation for "ACCOUNTINFO"."CDS_BANK_BRANCH_NLD"
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2256
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2462
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2431
ORA-06512: at line 1
This post has been answered by Fran on Jul 18 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2012
Added on Jul 18 2012
5 comments
323 views