Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ORA-12034: materialized view log on & quot;SCOTT"."T_ROWID" younger than last refresh

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Insert a data Times into a materialized view base table:

ORA-12034: materialized view log on "SCOTT". "T_ROWID" younger than last refresh

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2563

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2776

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2745

ORA-06512: at line 2

Solution:

SQL > exec dbms_mview.refresh ('MV_T_ROWID')

Begin dbms_mview.refresh ('MV_T_ROWID'); end

ORA-12034: materialized view log on "SCOTT". "T_ROWID" younger than last refresh

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2563

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2776

ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2745

ORA-06512: at line 2

Use full refresh:

SQL > exec dbms_mview.refresh ('MV_T_ROWID','C')

PL/SQL procedure successfully completed

Successfully insert data into the materialized view base table again.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report