oracle RAC DRM基本概念 |
發布時間: 2012/9/15 18:06:10 |
在oracle RAC中,每個實例均存在一個數據緩存池,每個block的改變都將實例間進行資源協調以獲取最大化性能,從而保證數據的完整性。 在RAC集群中,每個被緩存的數據copy,也叫做緩存資源,均存在一個叫做master節點的實例。 在10.1.0.2中,一旦一個cache resource被master一個實例節點, 對緩存資源的重新remaster或者說master節點的自動改變僅僅會發生在RAC實例節點的正常啟;蛘呒汗芾碣Y源間的非正常問題發生。 也就是說,如果NODE B是一個緩存資源的master節點,這個資源將被一直master到NODE B直到發生RAC節點的重新配置操作。 在oracle 10g中引進一個新的資源remaster概念叫做DRM(Dynamic Resource management [ID 390483.1]),通過DRM,RAC實例節點的重新配置 已經不再是cache資源被重新remaster的因素,如果cache resource被節點A頻繁訪問,一個資源可以從NODE B remaster到NODE A。 其他的一些概念如下: In 10gR1 DRM is driven by affinity of files and in 10gR2 it is based on objects. DRM attributes are intentionally undocumented since they may change depending on the version. These attributes should not be changed without discussing with Support. Two instance will not start a DRM operation at the same time however lmd,lms,lmon processes from all instances collectively take part in the DRM operation. Normal activity on the database is not affected due to DRM. This means users continue insert/update/delete operations without any interruptions. Also DRM operations complete very quickly. DRM many cause" latch: cache buffers chains" and "latch: object queue header operation " wait event, you can go throught this way to disable DRM: _gc_affinity_time=0 _gc_undo_affinity=FALSE also, you can used another two implicit parameters dynamic change _gc_affinity_limit=10000000 本文出自:億恩科技【www.laynepeng.cn】 |