当前位置:网站首页>ORA-55610: Invalid DDL statement on history-tracked table
ORA-55610: Invalid DDL statement on history-tracked table
2022-08-02 22:54:00 【DBA大董】
RMAN报错
ORA-55610: Invalid DDL statement on history-tracked table
错误原因:表空间无法进行DDL操作,主要是因为之前有表设置了flashback archive。
处理办法:取消flashback archive
查询哪些表启用了flashback archive
select * from dba_flashback_archive_tables;
取消flashback archive
alter table test07 no flashback archive;
至于为啥会报错,参考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 anUPGRADE TABLE
clause, with or without anINCLUDING DATA
clauseALTER TABLE
statement that moves or exchanges a partition or
subpartition operationDROP 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.
边栏推荐
猜你喜欢
随机推荐
CKAN教程之将 Snowflake 连接到 CKAN 以发布到开放数据门户
Jmeter二次开发实现rsa加密
记一次mysql查询慢的优化历程
today‘s task
openssl源码下载
2022杭电多校第一场(K/L/B/C)
智能电视竞争白热化,利用小程序共建生态突围
基于奇异谱分析法和长短时记忆网络组合模型的滑坡位移预测
微信小程序(一)
辅助脚本开发之旅
Pytest配置项-pytest.ini
Rasa 3.x 学习系列- Rasa - Issues 4792 socket debug logs clog up debug feed学习笔记
CentOS7 安装MySQL 图文详细教程
centos7安装mysql5.7步骤(图解版)
mysql根据多字段分组——group by带两个或多个参数
Let's talk about the charm of code language
微信小程序实现lot开发09 接入微信登录
js基础知识整理之 —— Date和定时器
程序员的七夕浪漫时刻
在软件测试行业近20年的我,再来和大家谈谈今日的软件测试