停止expdp任务

来源:互联网 发布:教室别恋 知乎 编辑:程序博客网 时间:2024/05/21 15:41

误操作

expdp st/st dumpfile=full2013.dmp full=y logfile=full2013.log directory=expdp job_name=my_job

ctrl + c 停止

发现导出文件依然在增长

expdp st/st attach=my_job

查看job状态

[oracle@test60 expdp]$ expdp st/st attach=my_job
Export: Release 11.2.0.1.0 - Production on 星期五 2月 28 10:45:07 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

作业: MY_JOB
  所有者: ST                             
  操作: EXPORT                         
  创建者权限: TRUE                           
  GUID: F36F21EBCF1B0756E040000A3C0534D8
  开始时间: 星期五, 28 2月, 2014 10:24:08
  模式: FULL                           
  实例: ora11gr2
  最大并行度: 1
  EXPORT 个作业参数:
  参数名      参数值:
     CLIENT_COMMAND        st/******** dumpfile=full2013.dmp full=y logfile=full2013.log directory=expdp job_name=my_job 
  状态: EXECUTING                      
  处理的字节: 0
  当前并行度: 1
  作业错误计数: 0
  转储文件: /u01/expdp/full2013.dmp
    写入的字节: 53,858,304
  
Worker 1 状态:
  进程名: DW00
  状态: EXECUTING                      
  对象方案: TPCH100G
  对象名: LINEITEM
  对象类型: DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
  完成的对象数: 1
  总的对象数: 5,965
  完成的行数: 186,607,708
  Worker 并行度: 1

Export> STOP_JOB
是否确实要停止此作业 ([Y]/N):

停一下job,再kill

Export> KILL_JOB
是否确实要停止此作业 ([Y]/N):

关闭后重新导出即可。



0 0