使用dblink用expdp/impdp的network_link从远程导大量表数据时,出现下面的问题:
本地数据库是11.1.0.6,远程数据库是10.2.04
本地数据库是11.1.0.6,远程数据库是10.2.04
一、当用tables指定多个表时,出现以下错误:
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORA-39001: invalid argument value
ORA-39071: Value for TABLES is badly formed.
将表的数据减少后正常,原因:
This is due to bug in Oracle <11. When you are using parameter TABLES=, it cannot be longer than 4000 characters. To ommit this you can create table containing list of all the tables you want to export :
CREATE TABLE expdp_tab (owner VARCHAR2(30), object_name VARCHAR2(128), object_type VARCHAR2(19));
INSERT INTO expdp_tab VALUES ('schema','table_name','TABLE');
....
co