expdp不能通过attach连接job

通过attach连接时,不能正常连接:

[oracle@alios dpdump]$ expdp \'/ as sysdba\' attach=SYS_EXPORT_SCHEMA_05

Export: Release 19.0.0.0.0 - Production on Tue May 7 13:04:14 2024

Version 19.16.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Job: SYS_EXPORT_SCHEMA_05

Owner: SYS

Operation: EXPORT

Creator Privs: TRUE

GUID: 17E111CE931F0CBDE065633A09D688E2

Start Time: Tuesday, 07 May, 2024 13:03:39

Mode: SCHEMA

Instance: orcl

Max Parallelism: 1

Timezone: +00:00

Timezone version: 32

Endianness: LITTLE

NLS character set: US7ASCII

NLS NCHAR character set: AL16UTF16

EXPORT Job Parameters:

Segmentation fault (core dumped)

或者

Job: SYS_EXPORT_TABLE_3

Owner: SYS

Operation: EXPORT

Creator Privs: TRUE

GUID: 17CB7C63CA88F491E0630101640A291E

Start Time: Monday, 06 May, 2024 23:11:39

Mode: TABLE

Instance: orcl1

Max Parallelism: 2

EXPORT Job Parameters:

段错误

这是由于用存储过程发起的备份,如果需要attach连接上去处理必须也要存储过程,比如停止备份操作:

先查询出运行种的job:

SELECT owner_name, job_name, rtrim(operation) "OPERATION",

rtrim(job_mode) "JOB_MODE", state, attached_sessions

FROM dba_datapump_jobs;

然后停止:

declare

h1 NUMBER;

BEGIN

h1 := DBMS_DATAPUMP.ATTACH('SYS_EXPORT_SCHEMA_02','SYS');

DBMS_DATAPUMP.STOP_JOB(h1);

END;

/

相关推荐
Mephisto.java3 小时前
【大数据学习 | Spark】Spark的改变分区的算子
大数据·elasticsearch·oracle·spark·kafka·memcache
远歌已逝6 小时前
维护在线重做日志(二)
数据库·oracle
LKID体14 小时前
Python操作neo4j库py2neo使用(一)
python·oracle·neo4j
斗-匕15 小时前
Spring事务管理
数据库·spring·oracle
一行玩python16 小时前
SQLAlchemy,ORM的Python标杆!
开发语言·数据库·python·oracle
王ASC17 小时前
ORA-01461: 仅能绑定要插入 LONG 列的 LONG 值。ojdbc8版本23.2.0.0驱动BUG【已解决】
数据库·sql·oracle
不爱学习的啊Biao18 小时前
初识mysql数据库
数据库·mysql·oracle
SRC_BLUE_1719 小时前
SQLI LABS | Less-55 GET-Challenge-Union-14 Queries Allowed-Variation 2
oracle·c#·less
.21 小时前
接口 测试
数据库·oracle
LIT-涛1 天前
JavaEE初学07
数据库·oracle·java-ee