ORA-31480: staging database and source database cannot be the same ORACLE 报错 故障修复 远程处理

文档解释

ORA-31480: staging database and source database cannot be the same

Cause: A CDC API call specified a source database name that matched the staging database on which the CDC API call is being executed.

Action: Make sure that the CDC API call is being executed from the staging database and that the source database is correctly specified. The source database and staging database need to be different databases.

ORA-31480: staging database and source database cannot be the same错误指明,在使用Oracle Data Pump Data Pump导出数据库和使用远程位置导入数据库时,拆分数据库空间的“源数据库”与“目标数据库”不能相同。

官方解释

Oracle Data Pump假定源数据库与目标数据库是不同的。 当某次迁移尝试向当前实例写入时,ORA-31480会抛出。

常见案例

例如,在重命名当前实例时抛出此错误;尝试从同一个实例导出并导入数据时也会发生;或者尝试从“源”实例导出,然后从该实例导入数据时也可能发生此错误。

一般处理方法及步骤

1. 将目标实例更改为不同的实例。

2. 没有现有的实例,可以创建一个新的Oracle实例并重命名原实例。

3. 启动更改的进程,以完成重命名。

4. 重新执行导出和导入过程,指定不同的源和目标数据库。


数据运维技术 » ORA-31480: staging database and source database cannot be the same ORACLE 报错 故障修复 远程处理