需求:
A机中的oracle有pingchuan和zte两个用户(schema),这两个schema中都有数据
。
B机刚装完oracle数据库并建好实例,没有数据。
A机的IP为192.168.1.131,B机的IP为192.168.1.137。
要求把A机中的pingchuan和zte导入到B机中。
(1)A机导出
> expdp
system/oracle directory=dump_dir dumpfile=exp.dmp logfile=exp.log
schemas=pingchuan,zte;
Export: Release
10.2.0.1.0 - 64bit Production on星期二, 23 6月, 2015 8:51:09
Copyright (c)
2003, 2005, Oracle.All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the
Partitioning, OLAP and Data Mining options
Starting
"SYSTEM"."SYS_EXPORT_SCHEMA_01":system/******** directory=dump_dir
dumpfile=exp.dmp logfile=exp.log schemas=pingchuan,zte
Estimate in
progress using BL