oracle停止expdp 039,expdp任务如何停止

之前做数据库expdp, 一直卡在

Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE

然后我看了job,发现:

SYS@iris> select * from dba_datapump_jobs;

OWNER_NAME                     JOB_NAME                       OPERATION

------------------------------ ------------------------------ ------------------------------------------------------------------------------------------

JOB_MODE                                                                                   STATE                              DEGREE ATTACHED_SESSIONS

------------------------------------------------------------------------------------------ ------------------------------ ---------- -----------------

DATAPUMP_SESSIONS

-----------------

SYS                            SYS_EXPORT_SCHEMA_01           EXPORT

SCHEMA                                                                                     EXECUTING                               8                 1

10

SYS                            SYS_EXPORT_SCHEMA_02           EXPORT

SCHEMA                                                                                     STOP PENDING                            8                 0

9

SYSTEM                         SYS_EXPORT_SCHEMA_02           EXPORT

SCHEMA                                                                                     NOT RUNNING                             0                 0

0

我想停止所有的job,但是不行啊,

oracle@stageip1:/export/oracle > expdp system/iris attach=SYS_EXPORT_SCHEMA_01

Export: Release 11.2.0.3.0 - Production on Wed Jul 16 01:21:00 2014

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 and Automatic Storage Management options

ORA-31626: job does not exist

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79

ORA-06512: at "SYS.KUPV$FT", line 405

ORA-31638: cannot attach to job SYS_EXPORT_SCHEMA_01 for user SYSTEM

ORA-31632: master table "SYSTEM.SYS_EXPORT_SCHEMA_01" not found, invalid, or inaccessible

ORA-00942: table or view does not exist

oracle@stageip1:/export/oracle >

oracle@stageip1:/export/oracle > expdp system/iris attach=SYS_EXPORT_SCHEMA_02

Export: Release 11.2.0.3.0 - Production on Wed Jul 16 01:21:13 2014

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 and Automatic Storage Management options

ORA-39002: invalid operation

ORA-39000: bad dump file specification

ORA-39140: dump file "/u01/app/oracle/product/11.2.0/dbhome_3/rdbms/log/Iris_U.dmp" belongs to job "SYS"."SYS_EXPORT_SCHEMA_02"

我的问题是:

怎么停止所有的job呢?

急求,谢谢!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracleexpdp是一个数据泵工具,用于将Oracle数据库中的数据和元数据导出到一个二进制文件中。它是Oracle 10g及更高版本中的一个新特性,相比于旧版本的exp和imp工具,它具有更高的性能和更多的功能。 以下是使用expdp导出数据的步骤: 1. 打开命令行窗口或终端,并使用系统管理员或具有适当权限的用户登录到Oracle数据库。 2. 运行以下命令以创建一个目录对象,该对象将用于存储导出文件: ``` CREATE DIRECTORY exp_dir AS '/path/to/directory'; ``` 其中,exp_dir是目录对象的名称,/path/to/directory是导出文件的存储路径。 3. 运行以下命令以使用expdp导出数据: ``` expdp username/password@database_name \ directory=exp_dir \ dumpfile=data.dmp \ logfile=expdp.log \ tables=table1,table2 \ exclude=constraint,index \ compression=all ``` 其中,username和password是具有适当权限的用户的凭据,database_name是要导出数据的数据库的名称,directory是在步骤2中创建的目录对象的名称,dumpfile是导出文件的名称,logfile是日志文件的名称,tables是要导出的表的名称,exclude是要排除的对象类型,compression是压缩级别。 4. 等待导出过程完成,然后检查日志文件以查看是否有任何错误或警告。 以下是使用expdp导出整个数据库的命令示例: ``` expdp username/password@database_name \ directory=exp_dir \ dumpfile=full_database.dmp \ logfile=expdp.log \ full=y \ compression=all ``` 其中,full=y表示导出整个数据库。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值