当前位置: 首页 > news >正文

gc cr/current block 2-way

官方文档描述

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列查询。


http://www.mrgr.cn/news/54756.html

相关文章:

  • 接口自动化测试实战
  • Linux:线程及其控制
  • 计算机网络——第三章 数据链路层
  • 27.3 一致性哈希算法介绍
  • 【JavaEE初阶】深入理解TCP协议中的封装分用以及UDP和TCP在网络编程的区别
  • 算法Day-6
  • 【MySQL】内外连接
  • 2024年深圳福田区第十二届职工技能大比武职业技能竞赛圆满收官
  • Vue-router 路由守卫执行流程图
  • 光纤光学的基本方程
  • 【MySQL】:库的操作
  • 【力扣打卡系列】滑动窗口与双指针(接雨水)
  • 【Maven】一篇带你了解Maven项目管理工具
  • int argc, char *argv[]
  • 6.C++经典实例-计算给定范围内的素数(质数)
  • SLACC Simion-based Language Agnostic Code Clones
  • 基于STM32的超声波流量计设计
  • python编译问题 当你编译第一个python程序时可能出现如下错误
  • 【英特尔IA-32架构软件开发者开发手册第3卷:系统编程指南】2001年版翻译,1-11
  • Tornado简单使用
  • JavaScript 新手必知的基本概念
  • 深入了解 Flannel(3):vxlan在flannel中的作用
  • 【Linux系统编程】冯诺依曼体系结构与操作系统
  • 操作系统之内存管理基本概念
  • SpringCloudAlibaba[Nacos]注册配置中心注册与发现服务
  • CGAL专篇-Kernel计算精度