- 最后登录
- 2015-5-24
- 在线时间
- 74 小时
- 威望
- 54
- 金钱
- 466
- 注册时间
- 2012-2-23
- 阅读权限
- 50
- 帖子
- 73
- 精华
- 0
- 积分
- 54
- UID
- 256
|
1#
发表于 2013-2-18 22:48:00
|
查看: 6341 |
回复: 4
数据库是oracle10g
按分区导出导入,脚本如下:
expdp expbak/expbak directory=ods tables=billuser.ts_b_bill:part_201210_97,billuser.ts_b_bill:part_201211_97,billuser.ts_b_bill:part_201212_97,billuser.ts_b_bill:part_201210_11,billuser.ts_b_bill:part_201211_11,billuser.ts_b_bill:part_201212_11 dumpfile=snap_ofd.dmp logfile=snap_ofd.log parallel=2 CONTENT=DATA_ONLY
impdp expbak/expbak directory=expbak1 REMAP_SCHEMA=billuser:snap_ofd REMAP_TABLESPACE=TS_TAB_BILL:TBS_ALL TABLE_EXISTS_ACTION=APPEND CONTENT=DATA_ONLY dumpfile=snap_ofd.dmp logfile=snap_ofd.log parallel=2
导出没问题,导入时在这hang住几个小时不动
Import: Release 10.2.0.5.0 - 64bit Production on Monday, 18 February, 2013 20:58:56
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "EXPBAK"."SYS_IMPORT_FULL_02" successfully loaded/unloaded
Starting "EXPBAK"."SYS_IMPORT_FULL_02": expbak/******** directory=expbak1 REMAP_SCHEMA=billuser:snap_ofd REMAP_TABLESPACE=TS_TAB_BILL:TBS_ALL TABLE_EXISTS_ACTION=APPEND CONTENT=DATA_ONLY dumpfile=snap_ofd.dmp logfile=snap_ofd.log parallel=2
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
-----------------------------------------------------------------------------------------------
查看dba_datapump_jobs状态正常
OWNER_NAME JOB_NAME STATE
------------------------------ ------------------------------ ------------------------------
EXPBAK SYS_IMPORT_FULL_02 EXECUTING
数据量没有增加,求解决思路!
|
|