ORACLE RAC Cache Fusion

    Cache Fusion basically is about  fusing the memory buffer cache of multiple instance into one single cache.  For example if we have 3 instance in a RAC which is using the same datafiles and each instance is having its own memory buffer cache in their own SGA, then cache fusion will make the database behave as if it has a single instance and the total buffer cache is the sum of buffer cache of all the 3 instance. Below figure shows what I mean.

    缓存融合是指将多个实例的内存缓存融合到一个实例的缓存中。例如,如果我们在一个使用同相同数据文件RAC集群中有三个实例,每个实例在他们自己的SGA中有自己的buffer cache。那么,cache fusion 会使数据库表现如下:有一个实例的全部buffer cache是3个实例大小的总和。

    This behavior is possible because of high speed interconnect existing in the cluster between each instance. Each of instance is connected to other instance using a high-speed interconnect. This makes it possible to share the memory between 2 or more servers. Previously only datafile sharing was possible, now because of interconnect, even the cache memory can be shared.

     这个表现可能是由于高速内部连接存在于集群中的每个实例。每个实例使用高速内部连接来连接到其他的实例。这就使得可以在2个或者更多的服务器上共享内存。以前是有数据文件能够共享,现在由于内部连接,甚至是内存缓存也能被共享了。


       But how this helps? Well, for example if we have a data block in one of the instance and its updating the block and other instance needs the same data block then this data block can be copied from holding instance buffer cache to requesting instance buffer cache using this high-speed interconnect. This high speed interconnect is a private connection made just for sending data blocks and more by instances. External users cannot use this connection. It is this interconnect which makes multiple server behave like a cluster. These servers are bind together using this interconnect.

     但是这个有什么帮助呢?例如,如果我们在其中一个实例中有一个数据块和它正在更新的块,其他的实例需要同一个数据块,那么这个数据块能够使用高速内部连接从持有这个块的buffer cache复制到请求实例的buffer cache。这个高速连接是一个私有连接,被实例用来发送数据或者其他的内容。外部用户不能使用这个连接。正是这个内部连接使得多个服务器表现得像一个集群。多个服务器通过这个内部连接被绑定在一起。


Cache Fusion简单示例



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30208428/viewspace-1814210/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30208428/viewspace-1814210/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值