首页 > 其他分享 >gc cr/current block 2-way

gc cr/current block 2-way

时间:2024-10-20 19:46:33浏览次数:10  
标签:current gc way cr 节点 block wait

官方文档描述

14.9.4 Analyzing Cache Fusion Transfer Impact Using GCS Statistics

Describes how to monitor GCS performance by identifying objects read and modified frequently and the service times imposed by the remote access.

Waiting for blocks to arrive may constitute a significant portion of the response time, in the same way that reading from disk could increase the block access delays, only that cache fusion transfers are usually faster than disk access latencies.

The following wait events indicate that the remotely cached blocks were shipped to the local instance without having been busy, pinned or requiring a log flush:

* gc current block 2-way

* gc current block 3-way

* gc cr block 2-way

* gc cr block 3-way

The object statistics for gc current blocks received and gc cr blocks received enable quick identification of the indexes and tables which are shared by the active instances. As mentioned earlier, creating an ADDM analysis will usually point you to the SQL statements and database objects that could be impacted by inter-instance contention.

Any increases in the average wait times for the events mentioned in the preceding list could be caused by the following occurrences:

* High load: CPU shortages, long run queues, scheduling delays

* Misconfiguration: using public instead of private interconnect for message and block traffic

If the average wait times are acceptable and no interconnect or load issues can be diagnosed, then the accumulated time waited can usually be attributed to a few SQL statements which need to be tuned to minimize the number of blocks accessed.

The column CLUSTER_WAIT_TIME in V$SQLAREA represents the wait time incurred by individual SQL statements for global cache events and will identify the SQL which may need to be tuned.

14.9.5.1 Block-Related Wait Events

The main wait events for block-related waits are:

* gc current block 2-way

* gc current block 3-way

* gc cr block 2-way

* gc cr block 3-way

The block-related wait event statistics indicate that a block was received as either the result of a 2-way or a 3-way message, that is, the block was sent from either the resource master requiring 1 message and 1 transfer, or was forwarded to a third node from which it was sent, requiring 2 messages and 1 block transfer.

2-way/3-way:该块是从需要1条消息和1次传输的资源主节点发送的,或者是转发到发送该块的第三个节点,需要2条消息和1次块传输。

3-way只发生在3个以及3个以上实例

block n

master node  主节点

request node 请求节点

Holding node 持有节点

两节点rac,只有持有节点与请求节点不在一个实例,才会发生gc block传输。

对于Block层面的Masters主要用于Cache Fusion。任何节点都可以成为特定Block的Master Node,可以通过V$GES_RESOURCE中的MASTER_NODE列查询。

标签:current,gc,way,cr,节点,block,wait
From: https://blog.csdn.net/Story_begins/article/details/143089512

相关文章

  • 20.ZGC详解
    一、ZGC概念1.介绍  ZGC(The Z Garbage Collector)是JDK 11中推出的一款追求极致低延迟的垃圾收集器;   停顿时间不超过10ms(JDK16已经达到不超过1ms);   停顿时间不会随着堆的大小,或者活跃对象的大小而增加;   支持8MB~4TB级别的堆,JDK15后已经可以支......
  • WebRTC JavaScript API使用和介绍
    目录API列表API列表WebRTCJavaScriptAPI是WebReal-TimeCommunication(WebRTC)技术的核心,它允许网页应用实现浏览器间的实时音频、视频通信及数据共享,无需依赖插件。navigator.mediaDevices.getUserMedia()作用:请求访问用户的媒体设备(如摄像头和麦克风)。代码示例......
  • JavaScript事件循环:一杯咖啡的时间,搞懂主线程都经历了什么?
    我们今天来聊聊JavaScript事件循环。虽然这个词听起来很高深,但你可以把它想象成一个奶茶店里排队买奶茶的过程。主线程就像奶茶店的唯一一个店员,任务就是那些排队的订单,而JavaScript的事件循环就是这个店员处理订单的工作方式。先看代码,咱们慢慢聊:console.log('1:进店......
  • scratch超级马里奥教程
    作者也是刚会scratch,写了个超级马里奥,出教程啦!scratch是这个:别下载错!教程开始!打开scratch:打开后创建马里奥,公主等角色及造型:别急,素材在末尾。打开变量,创建好这些:声音:别急,素材也在末尾。扩展选画笔:然后打开造型:输入代码:运行结果(运行后界面按空格!):教......
  • JavaScript 的基础语法和数据类型的概述
    JavaScript是一种广泛使用的编程语言,主要用于Web开发。它拥有简洁的语法和丰富的功能。以下是JavaScript的基础语法和数据类型的概述。基础语法变量声明使用var、let或const关键字声明变量。varname="Alice";letage=25;constpi=3.14;数据类型J......
  • javascript输出金字塔
    <script>//首先创造一个空的变量letstr=''letlevel=prompt("输入金字塔的层数")//获取输入的纯数字,其余情况都转化为NaNlevel=parseInt(level)&&Number(level)//判断用户的输入是否合法if(isNaN(level)){alert("金字塔的数......
  • SpringCloud项目|基于分布式架构的商城系统的设计与实现
    作者简介:Java领域优质创作者、CSDN博客专家、CSDN内容合伙人、掘金特邀作者、阿里云博客专家、51CTO特邀作者、多年架构师设计经验、多年校企合作经验,被多个学校常年聘为校外企业导师,指导学生毕业设计并参与学生毕业答辩指导,有较为丰富的相关经验。期待与各位高校教师、企业......
  • JavaScript中的this指向
    1.函数在调用时,JavaScript会默认给this绑定一个值;2.this的绑定和定义的位置(编写的位置)没有关系;3.this的绑定和调用方式以及调用的位置有关系;4.this是在运行时被绑定的;this的绑定规则规则一:默认绑定在函数独立调用时使用默认绑定,可以理解为函数没有被绑定到某个对象上常见......
  • 【AIGC】打造个人或企业专属AI,RAG详解
    RAG详解引言什么是RAG?RAG的工作原理RAG的优势dify搭建RAGRAG可以打造哪些个人专属AI个人知识管理助手个性化学习助手个人读书助手或代码助手RAG可以打造哪些企业专属AI客户服务机器人个性化营销推荐企业专属copilotRAG存在的问题知识库的构建与维护对于知识联系的无能......
  • 探索Adobe Acrobat Reader的高级功能:提升PDF文档处理效率
    探索AdobeAcrobatReader的高级功能:提升PDF文档处理效率AdobeAcrobatReader,作为Adobe系列中的一款PDF阅读器,早已超越了传统阅读器的范畴,成为了一款功能强大的PDF文档处理工具。无论是商务人士、学生还是科研人员,都可以利用AcrobatReader中的高级功能,提升文档处理效率,实......