Oracle进程:LMS 进程与Oracle RAC
LMS进程是Oracle RAC环境下非常重要的一个进程,关于这个进程的解释在不同文档中也有所不同。
在Oracle 9iR2的概念手册中这样介绍:
Lock Manager Server Process (LMS)
In Oracle9i Real Application Clusters, a Lock Manager Server process (LMS) provides inter-instance resource management.
也就是说LMS进程也就是 Lock Manager Server Process 的缩写,意思是 锁管理服务器进程。
LMS进程在RAC环境下可能会启动多个,其设置规则为:max( 2, #CPU/2) but no more than 10
而在Oracle 9iR2 RAC的概念文档中,Oracle这样解释LMS进程:
Global Cache Service Processes (LMSn)
The processes that handle remote Global Cache Service (GCS) messages. Real Application Clusters provides for up to 10 Global Cache Service Processes. The number of LMSn varies depending on the amount of messaging traffic amount the nodes in the cluster. The LMSn handle the acquisition interrupt and blocking interrupt requests from a remote instance for Global Cache Service resources. For cross-instance consistent read requests, LMSn creates a consistent read version of the block and sends it to the requesting instance. LMSn also controls the flow of messages to and from remote instances.
在这个文档中,Oracle将LMS重新定义为Global Cache Service Processes ,因为在9iRAC中,Oracle引入了大量Service的概念,所以LMS称为 Global Cache Service Processes 就更为合适一些,于是潜移默化的改变发生了,而且LMS的本意在新的定义中已经看不出来。
Oracle很多概念都经历了这样的变化,在变化中失去了原来的含义,如果不从源头上追溯,很多概念理解起来就会有很多困难。
看看在Oracle 10g中的定义: