OPS - Reconfiguration and Instance Startup in OPS (Doc ID 114566.1)

本文档解释了Oracle并行服务器实例启动时如何进行重配置,为什么启动期间可能会出现暂时挂起的现象,以及这一过程如何影响其他节点。特别讨论了在使用哈希锁定策略时这种现象更为明显。
PURPOSE
-------

The purpose of this document is to explain how reconfiguration occurs
when an Oracle parallel server instance is started, why startup may 
appear to hang during reconfiguration, and how other nodes are affected.

 
SCOPE & APPLICATION
-------------------

This document is intended for parallel server database administrators
that would like to understand a little more of what happens during 
reconfiguration, usually when an Oracle instance registers with the 
cluster.


RECONFIGURATION AND INSTANCE STARTUP IN OPS
-------------------------------------------
 
When starting an Oracle instance, you might notice that 'reconfiguration'
messages appear in the alert log.  At the same time you may notice that
the lmon trace goes through reconfiruation, startup appears to hang 
temporarily and other nodes temporarily hang as well.  This is normal 
behavior and is especially evident when a hashed locking strategy is 
used.  

Reconfiguration can occur when:

- An OPS instance is started.
- An OPS instance dies.
- A node is halted.

What happens during reconfiguration (on all nodes):

1. The lock database is frozen, essentially all global locking activity
comes to a halt.

2. Oracle cleans up all old resources, locks, and groups on all nodes.

3. Oracle re-establishes communication channels across nodes.

4. Oracle redistributes and grants any grantable locks as needed.

5. The DLM database is unfrozen and global locking activity can commence.

We actually do a little more than this but these 5 activities are the
most resource intensive and time consuming.  This can take longer 
depending on the locking strategy implemented, resources, and the 
number of locks that need to be allocated.  A fixed locking strategy 
specifically takes longer because all locks are granted during 
reconfiguration whereas when using a dba or releasable locking strategy
all locks are distributed as needed and are not allocated during 
reconfiguration.  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值