最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

Tracingdatapumpsessions

来源:动视网 责编:小采 时间:2020-11-09 14:43:36
文档

Tracingdatapumpsessions

Tracingdatapumpsessions:Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp Where in expdp has an option called trace where you can trace t
推荐度:
导读Tracingdatapumpsessions:Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp Where in expdp has an option called trace where you can trace t


Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp Where in expdp has an option called trace where you can trace t

Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp

Where in expdp has an option called trace where you can trace the session associated to datapump and then see what its waiting for or running (internal sql statements)

There are number of bugs for datapump, tracing may help to determine what we are encountering

To begin with, we need to know different levels of tracing in datapump, the following table depicts the same.

 Trace DM DW ORA Lines 
 level trc trc trc in 
 (hex) file file file trace Purpose
 ------- ---- ---- ---- ------ ----------------------------------------------- 
 10300 x x x SHDW: To trace the Shadow process (API) (expdp/impdp) 
 20300 x x x KUPV: To trace Fixed table 
 40300 x x x 'div' To trace Process services 
 80300 x KUPM: To trace Master Control Process (MCP) (DM) 
 100300 x x KUPF: To trace File Manager 
 200300 x x x KUPC: To trace Queue services 
 400300 x KUPW: To trace Worker process(es) (DW) 
 800300 x KUPD: To trace Data Package
 1000300 x META: To trace Metadata Package
 --- +
 1FF0300 x x x 'all' To trace all components (full tracing)

In case of full tracing two trace files are generated in BACKGROUND_DUMP_DEST just like standard tracing. And one trace file is generated in USER_DUMP_DEST.

Shadow Process trace file: _ora_.trc

Individual tracing level values in hexadecimal are shown except last one in the list. You can use individual value or combination of values. If you sum all the individual values you will get 1FF0300 which is full tracing.

To use full level tracing issue data pump export as,
expdp DUMPFILE=expdp.dmp LOGFILE=expdp.log TRACE=1FF0300

To use full level tracing for data pump import operation issue import as,
impdp DUMPFILE=expdp.dmp LOGFILE=expdp.log TRACE=1FF0300

However for most cases full level tracing is not required. 
As trace 400300 is to trace Worker process(es) and trace 80300 is to trace 
Master Control Process (MCP). So combining them is trace 480300 
and by using trace 480300 you will be able to trace both Master Control process 
(MCP) and the Worker process(es). This would serve the purpose.

So to diagnose any data pump export problem issue,
expdp DUMPFILE=expdp.dmp LOGFILE=expdp.log TRACE=480300

To diagnose any data pump import problem issue,
impdp DUMPFILE=expdp.dmp LOGFILE=expdp.log TRACE=480300

In case of standard tracing trace files are generated in BACKGROUND_DUMP_DEST. In case of standard tracing,

– If it is Master Process trace file then generated file name is, _dm_.trc

– If it is Worker Process trace file then generated file name is,_dw_.trc

文档

Tracingdatapumpsessions

Tracingdatapumpsessions:Tracing datapump is not straight forward, you can trace the datapump worker(dw00) or datapump master(DM00) with 10046 to get the sql etc or use the TRACE option in expdp/impdp Where in expdp has an option called trace where you can trace t
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top