Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

Online table reorg fails with ORA-01400

$
0
0

Hello,

 

I am trying to perform an online table reorganisation using brspace for a number of tables with already existing materialized views.

These materialized views are used for Oracle replication based on customer statement. The environment has the productive database and also a shadow database hosted on a different server.

The online table reorg fails with the bellow message.

 

 

BR1124I Starting 'online' reorganization of table SAPR3.Z370DLCH ...

BR0280I BRSPACE time stamp: 2014-07-20 09.12.38

BR0301E SQL error -1400 at location tab_onl_reorg-39, SQL statement:

'BEGIN DBMS_REDEFINITION.START_REDEF_TABLE (UNAME => '"SAPR3"', ORIG_TABLE => '"Z370DLCH"', INT_TABLE => '"Z370DLCH#$"', OPTIONS_FLAG => DBMS_REDEFINITION.CONS_USE_PK); END;'

ORA-01400: cannot insert NULL into ("SYS"."MLOG_REFCOL$"."OLDEST")

ORA-06512: at "SYS.DBMS_REDEFINITION", line 56

ORA-06512: at "SYS.DBMS_REDEFINITION", line 1498

ORA-06512: at line 1

BR0280I BRSPACE time stamp: 2014-07-20 09.12.38

BR1106E Reorganization of table SAPR3.Z370DLCH failed

 

 

Since the brspace reorganisation uses DBMS_REDEFINITION I imagine that the reorg fails because a new materialized view cannot be created.

Is there a solution to reorganize this king of tables that already have materialized views created?

We do not have the option to use "brspace -u / -f tbreorg -t <table_name> -a cleanup" since customer does not want us to touch the existing materialized views.

 

Thank you veru much for your time.


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>