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来备份数据。