11g expdp+dblink 备份数据库报错

前端之家收集整理的这篇文章主要介绍了11g expdp+dblink 备份数据库报错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

11.2.0.4数据库,远程使用expdp+dblink备份数据库报错

报错如下:

ORA-31679: Table data object "HIS"."AQULED_COM_sql" has long columns,and longs can not be loaded/unloaded using a network link
ORA-31679: Table data object "HIS"."COM_EBIS_UPDATE_LOG" has long columns,and longs can not be loaded/unloaded using a network link
ORA-31679: Table data object "HIS"."COM_sql" has long columns,and longs can not be loaded/unloaded using a network link
. . exported "SYJJHIS"."PHA_COM_STORAGE"                 897.5 KB    5374 rows
ORA-31679: Table data object "HIS"."CHK_COM_sql" has long columns,and longs can not be loaded/unloaded using a network link
ORA-31679: Table data object "HIS"."COM_sql_PPC" has long columns,and longs can not be loaded/unloaded using a network link
ORA-31679: Table data object "HIS"."DCP_COM_sql" has long columns,and longs can not be loaded/unloaded using a network link

2、官方文档

DataPump Import Of Tables Containing LONG Columns Using NETWORK_LINK Raises The Error ORA-31679 (文档 ID 1470331.1)

3、解决方法

1)expdp导出到本地,然后scp传输,然后再impdp导入

2)直接exp导出

这里由于数据文件才几十个G,直接只用了exp导出。但是已经到11g的版本还是建议大家使用expdp来备份数据。

原文链接:https://www.f2er.com/oracle/206584.html

猜你在找的Oracle相关文章