Oracle数据泵,impdp,expdp,查看导出导入进度

--获取JOB_NAME
select * from DBA_DATAPUMP_JOBS;
--使用attach参数
impdp sa/pwd attach=SYS_IMPORT_TABLE_01
expdp sa/pwd attach=SYS_EXPORT_TABLE_07
--例子
[oracle@xdcarch dump]$ impdp sa/pwd attach=SYS_IMPORT_TABLE_01
Import: Release 11.2.0.3.0 - Production on Sun Dec 31 16:03:34 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Job: SYS_IMPORT_TABLE_01
  Owner: SA                             
  Operation: IMPORT                         
  Creator Privs: FALSE                          
  GUID: 619EEBCA406748ECE053A002030A61F6
  Start Time: Sunday, 31 December, 2017 15:36:20
  Mode: TABLE                          
  Instance: ORAXDC
  Max Parallelism: 1
  EXPORT Job Parameters:
  Parameter Name      Parameter Value:
     CLIENT_COMMAND        sa/******** DUMPFILE=BUSTB_TESTRESULT_201606.DMP DIRECTORY=DUMP_DIR LOGFILE=BUSTB_TESTRESULT_201606.LOG TABLES=BUSTB_TESTRESULT:RESULT_PART_201606 CONTENT=DATA_ONLY 
     INCLUDE_METADATA      0
  IMPORT Job Parameters:
     CLIENT_COMMAND        sa/******** dumpfile=BUSTB_TESTRESULT_201606.DMP directory=DUMP_DIR logfile=BUSTB_TESTRESULT_201606.log TABLES=BUSTB_TESTRESULT CONTENT=DATA_ONLY 
     INCLUDE_METADATA      0
  State: EXECUTING                      
  Bytes Processed: 0
  Current Parallelism: 1
  Job Error Count: 0
  Dump File: /u03/dump/BUSTB_TESTRESULT_201606.DMP
  
Worker 1 Status:
  Process Name: DW00
  State: EXECUTING                      
  Object Schema: SA
  Object Name: BUSTB_TESTRESULT
  Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
  Completed Objects: 1
  Completed Rows: 681,344,435
  Completed Bytes: 53,387,330,504
  Percent Done: 68
  Worker Parallelism: 1
Import> 

[oracle@xdcrac1 ~]$ expdp sa/pwd attach=SYS_EXPORT_TABLE_07
Export: Release 11.2.0.3.0 - Production on Sun Dec 31 15:58:53 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

Job: SYS_EXPORT_TABLE_07
  Owner: SA                             
  Operation: EXPORT                         
  Creator Privs: FALSE                          
  GUID: 619F1E2521ED4912E053DD5AA8C08866
  Start Time: Sunday, 31 December, 2017 15:50:25
  Mode: TABLE                          
  Instance: oraxdc1
  Max Parallelism: 1
  EXPORT Job Parameters:
  Parameter Name      Parameter Value:
     CLIENT_COMMAND        sa/******** DUMPFILE=BUSTB_TESTRESULT_201607.DMP DIRECTORY=DUMP_DIR LOGFILE=BUSTB_TESTRESULT_201607.LOG TABLES=BUSTB_TESTRESULT:RESULT_PART_201607 CONTENT=DATA_ONLY 
     INCLUDE_METADATA      0
  State: EXECUTING                      
  Bytes Processed: 0
  Current Parallelism: 1
  Job Error Count: 0
  Dump File: /XDCBACKUP/database_full/BUSTB_TESTRESULT_201607.DMP
    bytes written: 4,096
  
Worker 1 Status:
  Process Name: DW00
  State: EXECUTING                      
  Object Schema: SA
  Object Name: BUSTB_TESTRESULT
  Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
  Completed Objects: 1
  Total Objects: 1
  Completed Rows: 879,649,029
  Worker Parallelism: 1

Export>
按 Ctrl+D 退出



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值