当前位置:网站首页>【EXPDP导出数据】expdp导出23行记录,且不包含lob字段的表,居然用时48分钟,请大家帮忙看看
【EXPDP导出数据】expdp导出23行记录,且不包含lob字段的表,居然用时48分钟,请大家帮忙看看
2022-07-26 15:13:00 【企系山顶上噶雪梨】
在awr在发现有streams等待事件

视图 v$streams_pool_advice 没有异常

trace日志如附件,发现大量的 : Checking for resumable waits
stream_pool 设置2G
查询stream_pool
SQL> show parameter streamsNAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM------------------------------------------------------------ ----------- --------------------------------------------------streams_pool_size big integer 2G
- 查询参数 shrink_phase_knlasg 为1
SQL> select shrink_phase_knlasg from X$KNLASG;SHRINK_PHASE_KNLASG------------------- 1
采纳答案1:
文档 ID 2469587.1
在Auto SGA环境(设置了sga_target或memory_target)下,当 buffer cache 负载较高并且 streams pool 中的内存正被移动到 buffer cache 时,可能会发生此问题。
如果遇到类似的性能问题时,请检查以下查询是否一直返回“1”。该值表示 streams pool 处于收缩阶段。当 streams pool 完成收缩时,该值应返回“0”,但如果它一直返回“1”,则您可能遇到此问题。
SQL> select shrink_phase_knlasg from X$KNLASG;
SHRINK_PHASE_KNLASG
-------------------
1
原因
即使 streams pool 已经结束收缩,该标志也没有被修改,这导致各种 stream pool 操作(例如数据泵的内部操作)等待 "StreamsAQ: enqueue blocked on low memory"。
该问题是由于Bug 27634991引起的,在版本19.1及更高版本中修复了该问题。
解决方案
如果由于“StreamsAQ: enqueue blocked on low memory”等待事件导致expdp / impdp命令出现严重性能问题,并且X$KNLASG.SHRINK_PHASE_KNLASG 列保持返回1并持续几分钟,则从sqlplus运行以下命令强制streams pool缩小完成。
connect / as sysdba
alter system set events 'immediate trace name mman_create_def_request level 6';
可以应用Patch 27634991以防止发生此问题。
其他答案1:
文档 ID 2469587.1
在Auto SGA环境(设置了sga_target或memory_target)下,当 buffer cache 负载较高并且 streams pool 中的内存正被移动到 buffer cache 时,可能会发生此问题。
如果遇到类似的性能问题时,请检查以下查询是否一直返回“1”。该值表示 streams pool 处于收缩阶段。当 streams pool 完成收缩时,该值应返回“0”,但如果它一直返回“1”,则您可能遇到此问题。
SQL> select shrink_phase_knlasg from X$KNLASG;
SHRINK_PHASE_KNLASG
-------------------
1
原因
即使 streams pool 已经结束收缩,该标志也没有被修改,这导致各种 stream pool 操作(例如数据泵的内部操作)等待 "StreamsAQ: enqueue blocked on low memory"。
该问题是由于Bug 27634991引起的,在版本19.1及更高版本中修复了该问题。
解决方案
如果由于“StreamsAQ: enqueue blocked on low memory”等待事件导致expdp / impdp命令出现严重性能问题,并且X$KNLASG.SHRINK_PHASE_KNLASG 列保持返回1并持续几分钟,则从sqlplus运行以下命令强制streams pool缩小完成。
connect / as sysdba
alter system set events 'immediate trace name mman_create_def_request level 6';
可以应用Patch 27634991以防止发生此问题。
其他答案2:
生产故障,不能重启实例,环境配置:
oracle版本: 11.2.0.4
内存:256G
spfile参数为空
其他答案3:
你看看有没有什么事务,或者锁。没提交的。
其他答案4:
我在生产环境遇到过这个问题,设置alter system set events 'immediate trace name mman_create_def_request level 6'; 这个参数只能临时解决,下次还会遇到问题,如果无法忍受的化,建议直接打补丁,
边栏推荐
- 【静态代码质量分析工具】上海道宁为您带来SonarSource/SonarQube下载、试用、教程
- 谷歌尝试为ChromeOS引入密码强度指示器以提升线上安全性
- 组件化开发基本规范、localStorage 和 sessionStorage、对象数据转基本值、原型链使用
- LeetCode_ Prefix and_ Hash table_ Medium_ 525. Continuous array
- 示波器的使用
- TI C6000 TMS320C6678 DSP+ Zynq-7045的PS + PL异构多核案例开发手册(2)
- R language wilcox The test function compares whether there is a significant difference in the central position of the population of two nonparametric samples (if the two sample data are paired data, s
- R语言ggplot2可视化:使用ggpubr包的ggballoonplot函数可视化气球图(可视化由两个分类变量组成的列联表)、配置guides函数中的size参数指定不显示数据点大小的图例
- Remote desktop on Jetson nano
- Digital commerce cloud: lead the digital upgrading of chemical industry and see how Mobei can quickly open up the whole scene of mutual integration and interoperability
猜你喜欢

C # set different text watermarks for each page of word

Tool skill learning (II): pre skills shell

持续集成(二)Jenkins基本使用介绍

持续集成(一)基本概念简要介绍

driver开发环境

【LeetCode】33、 搜索旋转排序数组

装备制造业的变革时代,SCM供应链管理系统如何赋能装备制造企业转型升级

【基础】动态链接库/静态链接库的区别

Environment regulation system based on Internet of things (esp32-c3+onenet+ wechat applet)

白话详解决策树模型之使用信息熵构建决策树
随机推荐
Driver development environment
How much help does solid state disk have for game operation
R语言使用lm函数构建带交互项的多元回归模型、使用step函数构建逐步回归模型筛选预测变量的最佳子集(step regression)
[leetcode daily question] - 268. Missing numbers
R语言使用lattice包中的histogram函数可视化直方图(histogram plot)、col参数自定义填充色、type参数自定义直方图显示模式(计数或者比例)
Google tries to introduce password strength indicator for chromeos to improve online security
DICOM学习资料收集
03 common set security classes under JUC
Li Hongyi, machine learning 3. Gradient descent
QCF for deep packet inspection paper summary
桌面应用布局图
装备制造业的变革时代,SCM供应链管理系统如何赋能装备制造企业转型升级
DevSecOps,让速度和安全兼顾
About the selection of industrial control gateway IOT serial port to WiFi module and serial port to network port module
Soft test (VII) performance test (1) brief introduction
工具技能学习(一):前置技能-makfile、make、.mk
[5 minutes paper] Pointer network
【C】 Flexible array
信用卡数字识别(opencv,代码分析)
sklearn clustering聚类