Hi,
Sometimes You can get “ORA-42011: error occurred while completing the redefinition ” error.
Details of error are as follows.
ORA-42011: error occurred while completing the redefinition
Cause: An error occurred while completing the online redefinition.
Action: Correct the error and continue the online redefinition.
ORA-42011: error occurred while completing the redefinition
ORA-32416: one or more commit SCN-based materialized view logs are not in
consistent state for fast refresh
ORA-06512: at “SYS.DBMS_REDEFINITION”, line 100
ORA-32416: one or more commit SCN-based materialized view logs are not in
consistent state for fast refresh
ORA-06512: at “SYS.DBMS_REDEFINITION”, line 100
You can read the following post if you want to learn more detail about Online Redefinition.
Online Table Redefinition and Partitioning using DBMS_REDEFINITION in Oracle
This error is related with the Bug 13881924 is fixed on 12.1.
In order to resolve the issue,kindly check if patch is available for your platform, or Upgrade database to 12.1 or above (12.2 or 19c )
Do you want to learn Oracle Database for Beginners, then read the following articles.
https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/