Just a few days ago a got to two Oracle DBAs discussing why the have so much “PX Deq Credit : send blkd” on a system. And if that is causing their performance problems.

The are some blog on the internet claiming it has to do with qc distribution and what ever.

But in many cases, especial if you experince huge waits on “PX Deq Credit : send blkd” the explanation can be much simpler. But first some background information.

If a query is run in parallel there is a query coordinator (QC) and the query slaves. The slaves do the actual work an send the result to the query coordinator. This is done through message buffers which you specified with the parallel_execution_message_size.

This buffer exists in the large or in the shared pool depending how PARALLEL_AUTOMATIC_TUNING is set.

Metalink states about the PX Deq Credit: send blkd event

This is considered as idle wait event.

You should investigate the sender (decode the senderid).

There is no general advice to reduce the waitime for this event.

The process wishes to send a message and does not have the flow control credit. Process must first dequeue a message to obtain the credit. Indicates that the receiver has not dequeued and/or completely consumed the prior message yet.

from that statement you could believe that is a idle even an you don’t need to care.

In this case the waits were cause by a query which look similar to this:

insert into tablex values (select /*+ parallel(32) */ from tabley);

Now it pretty clear from where the waits are coming. Since parallel query is enabled by default, but parallel dml is disabled, you feed a single insert process with 32 slaves. the insert process can never consume that much.

So the question is now, does that indicate a performance problem?

Yes, I does!

It indicates that your developer didn’t perform right. He played with parallel query without knowing what he does.

It eats your memory and produces unnecessary process on your sys

Oracle event px,oracle wait event:PX Deq Credit: send blkd相关推荐

  1. PX Deq Credit: send blkd 等待事件

    这个等待事件并不是oracle常见的等待之一. --查看该等待事件属性 SELECT * FROM V$EVENT_NAME A WHERE A.NAME = 'PX Deq Credit: send ...

  2. PX Deq Create send blkd

    px deq credit send blkd 今天logical standby 同步很慢,查看v$session_wait很多PX De Credit:nee buffer PX Deq:Tabl ...

  3. ORACLE选择hint,ORACLE中的的HINT详解

    hints是oracle提供的一种机制,用来告诉优化器按照我们的告诉它的方式生成执行计划.我们可以用hints来实现: 1) 使用的优化器的类型 2) 基于代价的优化器的优化目标,是all_rows还 ...

  4. Oracle Hints,Oracle并行模式(Parallel) /*+parallel(t,4)*/ 在SQL调优中的重要作用

    /*+parallel(t,4)*/在SQL调优中的重要作用! 2013年11月17日 12:59:24 雾里看花5566 阅读数:5422更多 个人分类: 数据库-oracle 谈谈HINT /*+ ...

  5. 【Oracle】并行等待之PX Deq Credit: need buffer

    本系列文章将会介绍在并行操作过程中 slave 进程和 QC 进程经常遇到的等待事件! PX Deq Credit: need buffer等待 QC和slave 之间使用队列进行沟通,每个队列使用b ...

  6. [Oracle]如何在Oracle中设置Event

    为了调查Oracle 的故障,可以通过设置event ,来了解详细的状况.方法如下: ■ 如果使用 SPFILE, ============= To enable it: 1. Check the c ...

  7. Oracle Study之--Oracle等待事件(3)

    Oracle Study之--Oracle等待事件(3) Db file parallel read 这是一个很容易引起误导的等待事件,实际上这个等待事件和并行操作(比如并行查询,并行DML)没有关系 ...

  8. oracle技术之Oracle 跟踪事件(一)

    一.Oracle跟踪文件 Oracle跟踪文件分为三种类型,一种是后台报警日志文件,记录数据库在启动.关闭和运行期间后台进程的活动情况,如表空间创建.回滚段创建.某些alter命令.日志切换.错误消息 ...

  9. oracle顺序读等待,Oracle Study之--Oracle等待事件(4)

    Oracle Study之--Oracle等待事件(4) Db file scattered read这个等待事件在实际生产库中经常可以看到,这是一个用户操作引起的等待事件,当用户发出每次I/O需要读 ...

  10. oracle适配器接口,Oracle

    Oracle SOA Suite 12c 上适用于 Oracle 销售云.Oracle Eloqua 和 Oracle HCM 云的新云适配器 为了提高销售业绩并实现随时随地销售,许多组织都在采用 O ...

最新文章

  1. linux遍历文件夹下所有文件大小,Linux系统遍历文件夹 获取文件大小的操作(C语言实现)...
  2. C++/CLI之托管类型:public ref class
  3. AI与医学:AI预测结合医学案例应用——当基因编辑转角遇到AI
  4. php 转化数字,php实现中文转数字
  5. 音视频技术开发周刊(第127期)
  6. Move or commit them before Pull git
  7. java utf8 转换al32utf8_java与Unicode
  8. linux kvm查看线程状态,kvm线程-005-线程状态-THREAD_JUST_BORN
  9. C++ PAT 乙级 ——1002 读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。
  10. C++:new[]和delete[]一定要配对使用吗?
  11. itext-2.1.7.jar
  12. 热情不减!iPhone12国行首批供货已售罄
  13. UI 实用素材|可视化后台系统UI视觉界面
  14. web前端工程师必须掌握的24条宝贵经验!
  15. 【设计模式】—— 解释器模式Interpret
  16. python windows自动化 爬虫_Python体系(网络爬虫、人工智能、WEB开发、自动化运维)详细介绍...
  17. Linux常用命令介绍(一)——文件与文件夹操作相关命令
  18. VRRP实现AC双机备份原理详解与配置实例
  19. 内涵! 程序员才懂的动图(太 TM 形象了)
  20. 河南理工大学计算机科学与技术怎么样,河南理工大学计算机科学与技术怎么样...

热门文章

  1. 【业务分析】为什么YouTube广告只看5秒就可跳过,却更赚钱?
  2. c++ 11 for循环
  3. 循环神经网络(RNN)
  4. P1428 小鱼比可爱
  5. Swagger之OAS 3.0配置
  6. 不需要抓包分析、简单粗暴的模拟校园网登录方法——基于python playwright
  7. 【Rust日报】2022-09-13 Stabilize GAT
  8. 【编程题】【Scratch二级】2021.12 绘制多边形
  9. Bluetooth Battery Monitor(蓝牙电量监控软件)
  10. [CVPR2021]pi-GAN: Periodic Implicit Generative Adversarial Networks for 3D-Aware Image Synthesis