• ORA-55610: Invalid DDL statement on history-tracked table


    RMAN报错

    ORA-55610: Invalid DDL statement on history-tracked table
    
    • 1

    错误原因:表空间无法进行DDL操作,主要是因为之前有表设置了flashback archive。

    处理办法:取消flashback archive

    查询哪些表启用了flashback archive

    select * from dba_flashback_archive_tables;  
    
    • 1

    取消flashback archive

    alter table test07 no flashback archive;  
    
    • 1

    至于为啥会报错,参考Oracle 官方文档

    DDL Statements on Tables Enabled for Flashback Data Archive Flashback Data Archive supports only these DDL statements:

    ALTER TABLE statement that does any of the following:

    • Adds, drops, renames, or modifies a column

    • Adds, drops, or renames a constraint

    • Drops or truncates a partition or subpartition operation

    TRUNCATE TABLE statement

    RENAME statement that renames a table

    Flashback Data Archive does not support DDL statements that move, split, merge, or coalesce partitions or subpartitions, move tables, or convert LONG columns to LOB columns.

    For example, the following DDL statements cause error ORA-55610 when used on a table enabled for Flashback Data Archive:

    • ALTER TABLE statement that includes an UPGRADE TABLE clause, with or without an INCLUDING DATA clause

    • ALTER TABLE statement that moves or exchanges a partition or
      subpartition operation

    • DROP TABLE statement

    If you must use unsupported DDL statements on a table enabled for Flashback Data Archive, use the DBMS_FLASHBACK_ARCHIVE.DISASSOCIATE_FBA procedure to disassociate the base table from its Flashback Data Archive. To reassociate the Flashback Data Archive with the base table afterward, use the DBMS_FLASHBACK_ARCHIVE.REASSOCIATE_FBA procedure.

  • 相关阅读:
    python安全工具开发基础
    SpringBoot工程启动顺序以及自定义监听
    哺乳动物组织和培养细胞提取蛋白—Abbkine ExKine总蛋白提取试剂盒
    20、架构-容器间网络
    Java——JDK1.8新特性
    初识测开/测试
    【三维重建】摄像机几何
    VectorDraw web library JS 10.1004.1.0 Crack
    Python的优点及工作前景
    Flutter 教程之使用 Flutter 构建 Chrome 扩展(教程含源码)
  • 原文地址:https://blog.csdn.net/weixin_43700866/article/details/126105548