dbTalk Databases Forums  

Error updating materialized view

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Error updating materialized view in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sashi
 
Posts: n/a

Default Error updating materialized view - 07-07-2008 , 09:11 AM






Hi all,
I'm trying to update a materialized view:
EXECUTE DBMS_MVIEW.REFRESH('NED_PRODUCT_CARD_MV', 'C');

This commands hangs for a very long time (no idea if it'll ever
complete). Hm, reminds me of the halting problem.

When I terminate it with a Ctrl-C, I get the error message:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1


My version:
$ sqlplus -version

SQL*Plus: Release 9.2.0.6.0 - Production


We update this MV regularly (every few weeks) and this is the first
time that I'm seeing this.

Any pointers are appreciated.

Thanks,
Sashi

Reply With Quote
  #2  
Old   
Sashi
 
Posts: n/a

Default Re: Error updating materialized view - 07-07-2008 , 11:30 AM






On Jul 7, 10:11 am, Sashi <small... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,
I'm trying to update a materialized view:
EXECUTE DBMS_MVIEW.REFRESH('NED_PRODUCT_CARD_MV', 'C');

This commands hangs for a very long time (no idea if it'll ever
complete). Hm, reminds me of the halting problem.

When I terminate it with a Ctrl-C, I get the error message:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

My version:
$ sqlplus -version

SQL*Plus: Release 9.2.0.6.0 - Production

We update this MV regularly (every few weeks) and this is the first
time that I'm seeing this.

Any pointers are appreciated.

Thanks,
Sashi
To answer my own question, this is quite another problem:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01476: divisor is equal to zero
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

I don't know why it hanged for so long on earlier tries before
reporting this issue.
Updated the fields to take care of the divide by zero and then it
worked fine.


Reply With Quote
  #3  
Old   
Sashi
 
Posts: n/a

Default Re: Error updating materialized view - 07-07-2008 , 11:30 AM



On Jul 7, 10:11 am, Sashi <small... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,
I'm trying to update a materialized view:
EXECUTE DBMS_MVIEW.REFRESH('NED_PRODUCT_CARD_MV', 'C');

This commands hangs for a very long time (no idea if it'll ever
complete). Hm, reminds me of the halting problem.

When I terminate it with a Ctrl-C, I get the error message:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

My version:
$ sqlplus -version

SQL*Plus: Release 9.2.0.6.0 - Production

We update this MV regularly (every few weeks) and this is the first
time that I'm seeing this.

Any pointers are appreciated.

Thanks,
Sashi
To answer my own question, this is quite another problem:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01476: divisor is equal to zero
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

I don't know why it hanged for so long on earlier tries before
reporting this issue.
Updated the fields to take care of the divide by zero and then it
worked fine.


Reply With Quote
  #4  
Old   
Sashi
 
Posts: n/a

Default Re: Error updating materialized view - 07-07-2008 , 11:30 AM



On Jul 7, 10:11 am, Sashi <small... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,
I'm trying to update a materialized view:
EXECUTE DBMS_MVIEW.REFRESH('NED_PRODUCT_CARD_MV', 'C');

This commands hangs for a very long time (no idea if it'll ever
complete). Hm, reminds me of the halting problem.

When I terminate it with a Ctrl-C, I get the error message:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

My version:
$ sqlplus -version

SQL*Plus: Release 9.2.0.6.0 - Production

We update this MV regularly (every few weeks) and this is the first
time that I'm seeing this.

Any pointers are appreciated.

Thanks,
Sashi
To answer my own question, this is quite another problem:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01476: divisor is equal to zero
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

I don't know why it hanged for so long on earlier tries before
reporting this issue.
Updated the fields to take care of the divide by zero and then it
worked fine.


Reply With Quote
  #5  
Old   
Sashi
 
Posts: n/a

Default Re: Error updating materialized view - 07-07-2008 , 11:30 AM



On Jul 7, 10:11 am, Sashi <small... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,
I'm trying to update a materialized view:
EXECUTE DBMS_MVIEW.REFRESH('NED_PRODUCT_CARD_MV', 'C');

This commands hangs for a very long time (no idea if it'll ever
complete). Hm, reminds me of the halting problem.

When I terminate it with a Ctrl-C, I get the error message:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

My version:
$ sqlplus -version

SQL*Plus: Release 9.2.0.6.0 - Production

We update this MV regularly (every few weeks) and this is the first
time that I'm seeing this.

Any pointers are appreciated.

Thanks,
Sashi
To answer my own question, this is quite another problem:
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-01476: divisor is equal to zero
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 820
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 877
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 858
ORA-06512: at line 1

I don't know why it hanged for so long on earlier tries before
reporting this issue.
Updated the fields to take care of the divide by zero and then it
worked fine.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.