重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 494|回复: 0
打印 上一主题 下一主题

[Oracle] 12.2.0.1 DataPump Customers: Long Wait Time at the End of DataPump Export Job

[复制链接]
跳转到指定楼层
楼主
发表于 2024-6-2 17:30:00 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
现象:
Long wait time is seen at the end of export and the next line to print is that the master table is exported:

....
30-OCT-17 15:53:08.355: W-1 Completed 15 DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA objects in 2 seconds <-------here
31-OCT-17 03:08:02.765: W-1 Master table "<SCHEMA_NAME>"."SYS_EXPORT_FULL_02" successfully loaded/unloaded
31-OCT-17 03:08:02.860:
******************************************************************************
31-OCT-17 03:08:02.862: Dump file set for SYSTEM.SYS_EXPORT_FULL_02 is:
31-OCT-17 03:08:02.864:
<PATH>/<DUMP_FILE>.dmp
31-OCT-17 03:08:03.093: Job "<SCHEMA_NAME>"."SYS_EXPORT_FULL_02" successfully completed at Tue Oct 31 03:08:03 2017 elapsed 0 19:03:52


DataPump export job is slow at the end of job execution when running a merge and/or an update statement on the master table:

MERGE INTO "<SCHEMA_NAME>"."SYS_EXPORT_FULL_01" u USING
"<SCHEMA_NAME>"."SYS_EXPORT_FULL_01" s ON (s.process_order > 0 AND s.duplicate = 0
AND s.object_schema = u.base_object_schema AND NVL(s.name, s.object_name) = u.base_object_name AND s.object_type = u.base_object_type AND
s.partition_name IS NULL AND u.process_order > 0 AND u.duplicate = 0 AND u.base_object_type IS NOT NULL) WHEN MATCHED THEN UPDATE SET
u.base_process_order = s.process_order
UPDATE "<SCHEMA_NAME>"."SYS_EXPORT_FULL_01" mtu SET mtu.base_process_order = (-1000 - (SELECT
MIN(mts.process_order) FROM "<SCHEMA_NAME>"."<TABLE_NAME>" mts WHERE mts.process_order > 0 AND mts.duplicate = 0 AND mts.object_schema =
mtu.base_object_schema AND mts.object_name = mtu.base_object_name AND mts.object_type = mtu.object_type)) WHERE mtu.process_order BETWEEN :1 AND
:2 AND mtu.duplicate = 0 AND mtu.object_type = 'TABLE_DATA' AND mtu.processing_status = :3

The end of a DataPump export job needs to update values in the master table that DataPump creates and maintains. This is needed before that master table is exported and DP job completes.
In some situations, those updates perform pretty badly due to a wrong execution plan. Same performance problem is seen even with content=metadata_only.

The transactions which come with the fixes of:

unpublished Bug 24707852 - APPSST12201::PERFORMANCE ISSUE WITH EXPDP DURING FULL DATABASE EXPORT
Bug 26368590 - EXPDP IS SLOW AFTER UPGRADE TO 12.2
Bug 27144324 - LONG WAIT TIME AT THE END OF 12.2.0.1 DATAPUMP EXPORT JOB
address those performance issues. In some situations, the result looks like a hang or could be a hang.


变通方法:
无.

补丁:
A fix which merges the transactions of unpublished Bug 24707852, Bug 27144324 and Bug 26368590 is highly recommended to be installed in any 12.2.0.1 environment where an expdp job is started.
The following generic merge patch is currently available:

Patch 27589845 -  Merge Patch on top of 12.2.0.1.0 for: Bug 24707852, Bug 26117287, Bug 26368590 and Bug 27144324
Note: Run datapatch after the patch installation.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 20:29 , Processed in 0.086046 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表