trace the expdp log(跟踪EXPDP日志)

Can you confirm if the same data was exported quickly before? If so can we know the time difference?

Perform the following and provide the trace files generated:

Ensure there is sufficient space in the udump destination.
Execute the export session.
The following query will give us the sid, serial# and pid of the export session:

set lines 150 pages 100 numwidth 7
col program for a38
col username for a10
col spid for a7
SQL>select s.program, s.sid,
s.status, s.username, d.job_name, p.spid, s.serial#, p.pid
from v$session s, v$process p, dba_datapump_sessions d
where p.addr=s.paddr and s.saddr=d.saddr;

To SQL_TRACE Master Control process with level 8 (Waits):
execute sys.dbms_system.set_ev(sid,serial#,10046,8,''); ---------> enter the export session sid, serial# from the above query. Do this for both the master process and the worker process.
Wait for 20 mins and then disable the trace
To disable:
execute sys.dbms_system.set_ev(sid,serial#,10046,0,'');

-- This results in two trace files in BACKGROUND_DUMP_DEST:
-- Master Process trace file: <SID>_dm<number>_<process_id>.trc
-- Worker Process trace file: <SID>_dw<number>_<process_id>.trc
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值