ORA-31476: a change table data column is missing from the source table ORACLE 报错 故障修复 远程处理
文档解释
ORA-31476: a change table data column is missing from the source table
Cause: While advancing a change set, an CDC determined that at least one of the data columns in a change table does not match the name of any of the columns in the source table. The source table column listis stored in dictionary table SYSTEM.LOGMNR_OBJ$
Action: Make sure that all of the data columns of the change table have the same names as the corresponding columns in the source table, and that all the columns exist in the source table.
ORA-31476 错误指明在源表中缺少了change table数据列。
官方解释
“ORA-31476: 未在源表中找到change table数据列”,是Oracle数据库在表上变更操作时出现的错误。无法在源表中找到change table数据列,所以无法进行变更操作。
常见案例
比如当尝试为表添加新列,但没有在源表中为该列定义ct as column clause,此时便会出现该错误。
一般处理方法及步骤
1.确认源表中的change table数据列。
2.如果没有,在源表中添加change table数据列,然后重试。