關於LATCH

[复制链接]
查看11 | 回复3 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我看SG 時, 有點不明以下的句子, 請幫幫我.
When the PMPN process attempts to clean up an abnormally terminated process, it finds that the latch required to access the structure is not available. PMON continues with subsequent instructions rather than waiting for the latch to be freed.
係以上句子中, LATCH係用了IMMEDIATE的方法, 我想問, 當PMON找不到空閒的LATCH時, 為何可以繼續進行其他事情, 而所為subsequent instructions 是指什麼?
是否每一個在SGA內的進行的動作, 都而要一個LATCH呢?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
latch是对SGA中数据加锁的结构,
应该是的。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
若說LATCH 是對SGA的加鎖,
這樣LOCK是否對數據的加鎖呢?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
可以这么认为
lock是用来锁数据的,包括了所用户的数据和数据字典的数据
latch是用来锁内存结构的,在执行大多数操作时都需要latch
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行