DBMS_REDEFINITION Fails With ORA-01400 (Doc ID 1533132.1)

Last updated on JULY 07, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

The Following behavior could be seen:

1 Refresh of a lob-based materialized view uses row-by-row processing which can be slow.

OR

2 DBMS_REDEFINITION.finish_redef_table may fail with :

ORA-42012: error occurred while completing the redefinition
ORA-12008: error in materialized view refresh path
ORA-01400: cannot insert NULL into ("SAPR3"."STXL#$"."CLUSTD")
ORA-06512: at "SYS.DBMS_REDEFINITION", line 82

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms