• ORA-30567: name already used by an existing


    ogg 报错信息如下

    2021-08-24 18:10:49 ERROR OGG-01489 Oracle GoldenGate Capture for Oracle, yz01.prm: Could not add TRAN DATA for table, error [ORA-30567: name already used by an existing
    log group SQL ALTER TABLE "YZ"."LAAGENTB" ADD SUPPLEMENTAL LOG GROUP "GGS_75783" ("EDORNO","AGENTCODE") ALWAYS /* GOLDENGATE_DDL_REPLICATION */], error code [30567], operation [ALTER TABLE "YZ"."LAAGENTB" ADD SUPPLEMENTAL LOG GROUP "GGS_75783" ("EDORNO","AGENTCODE") ALWAYS /* GOLDENGATE_DDL_REPLICATION */ (size 131)].2021-08-24 18:10:50 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, yz01.prm: PROCESS ABENDING.

    通过查询dba_log_groups、dba_log_group_columns视图查询  log group GGS_75783在那张表上

    删除log group

    alter table yz.TMPLJAPAYPERSON  drop SUPPLEMENTAL LOG GROUP "GGS_75783"

    在启动进程

    LAAGENTB、TMPLJAPAYPERSON 2张表会自动添加表级附件日志

    添加附加日志

    alter table test add  supplemental log data(all,primary key,unique,foreign key) columns;

    删除附加日志

    alter table test drop  supplemental log data(all,primary key,unique,foreign key) columns;  

    注:这种删除附加日志可能会报错

    建议删除附加日志组

    alter table yz.TMPLJAPAYPERSON  drop SUPPLEMENTAL LOG GROUP "GGS_75783"

  • 相关阅读:
    Android设置RadioButton在文字的右边
    如何创建启动界面Splash Screen
    sqlite3 数据类型 批量插入
    为PopupWindow设置弹出动画效果
    android activity生命周期
    Eclipse快捷键大全
    SQLite的使用
    创建窗口式Activity
    Android中实现按钮自动隐藏
    android技术片段
  • 原文地址:https://www.cnblogs.com/omsql/p/15181746.html
Copyright © 2020-2023  润新知