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中的定义:

Global Cache Service (LMS) - In a Real Application Clusters environment, this process manages resources and provides inter-instance resource control.

变化就是这样产生的。以下是一个Oracle 10g 10.2.0.4环境下的进程信息:[oracle@wapdbrac1 ~]$ ps -ef|grep lms

oracle 14712 3313 0 16:51 pts/1 00:00:00 grep lms

oracle 15882 1 0 May05 ? 00:00:01 asm_lms0_+ASM1

oracle 29839 1 0 May05 ? 00:12:07 ora_lms0_wapdb1

oracle 29843 1 0 May05 ? 00:13:39 ora_lms1_wapdb1

在LMS的进程跟踪文件中,你可以看到类似如下信息:/opt/oracle/admin/wapdb/bdump/wapdb1_lms1_7605.trc

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production

With the Partitioning, Real Application Clusters, OLAP and Data Mining options

ORACLE_HOME = /opt/oracle/product/10.2.0/db

System name: Linux

Node name: wapdbrac1

Release: 2.6.9-55.0.0.0.2.ELhugemem

Version: #1 SMP Wed May 2 15:04:06 PDT 2007

Machine: i686

Instance name: wapdb1

Redo thread mounted by this instance: 0 Oracle process number: 8

Unix process pid: 7605, image: oracle@wapdbrac1 (LMS1)

*** SERVICE NAME:() 2008-02-22 19:10:54.020

*** SESSION ID:(1099.1) 2008-02-22 19:10:54.020

0 GCS shadows cancelled, 0 closed

0 GCS resources traversed, 0 cancelled

LMS 1: 126150 GCS resources on freelist, 126190 on array, 126190 allocated

0 GCS shadows traversed, 0 replayed, 0 duplicates

lms 1 finished replaying gcs resources

0 write requests issued in 4788 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 4797 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 4751 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 4644 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 439 GCS resources

0 PIs marked suspect, 0 flush PI msgs

lms 1 finished fixing gcs write protocol

*** 2008-03-17 14:54:10.828

KJM_HISTORY: RCVR STALL OP(12) context 0 elapsed 536578176 us

KJM HIST LMS1:

12:536578176 7:7 6:2 10:3 17:6 16:4 15:4 12:30675 7:6 6:3

10:3 17:7 16:3 15:5 12:30242 7:6 6:2 10:3 17:6 16:3

15:5 12:30241 7:5 6:3 10:3 17:7 16:3 15:5 12:30242 7:6

6:3 10:3 17:8 16:3 15:4 12:30245 7:5 6:3 10:2 17:7

16:4 15:4 12:30240 7:7 6:2 10:3 17:7 16:4 15:4 12:30243

7:6 6:2 10:2 17:7 16:4 15:5 12:30260 7:5 6:2 10:3

17:5 16:3 15:3 12:30243

----------------------------------------

SO: 0x7a17d5f0, type: 4, owner: 0x7ca38d14, flag: INIT/-/-/0x00

(session) sid: 1099 trans: (nil), creator: 0x7ca38d14, flag: (51) USR/- BSY/-/-/-/-/-

DID: 0000-0000-00000000, short-term DID: 0000-0000-00000000

txn branch: (nil)

oct: 0, prv: 0, sql: (nil), psql: (nil), user: 0/SYS

last wait for 'gcs remote message' blocking sess=0x(nil) seq=12843 wait_time=536578162 seconds since wait started=611

waittime=18, poll=0, event=0

Dumping Session Wait History

for 'gcs remote message' count=1 wait_time=536578162

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30661

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30228

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30227

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30226

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30229

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30225

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30226

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30244

waittime=18, poll=0, event=0

for 'gcs remote message' count=1 wait_time=30232

waittime=18, poll=0, event=0

temporary object counter: 0

----------------------------------------

UOL used : 0 locks(used=0, free=0)

KGX Atomic Operation Log 0x7bb78228

Mutex (nil)(0, 0) idn 0 oper NONE

Library Cache uid 1099 efd 0 whr 0 slp 0

KGX Atomic Operation Log 0x7bb78250

Mutex (nil)(0, 0) idn 0 oper NONE

Library Cache uid 1099 efd 0 whr 0 slp 0

KGX Atomic Operation Log 0x7bb78278

Mutex (nil)(0, 0) idn 0 oper NONE

Library Cache uid 1099 efd 0 whr 0 slp 0

SKGXPIWAIT: keepalive_reset elapsed 791166 ts 2058197925 last ping 2057406759 check 600000

PING HISTORY for CONTEXT Time Stampe 0x7aad9ba5

MSGs Time Stamp

--- ----------

1 0x7aa18927

1 0x7a5cdef7

1 0x7a6172df

1 0x7a6606bc

1 0x7a6a9a9b

1 0x7a6f2e7a

1 0x7a73c258

1 0x7a785637

1 0x7a7cea20

1 0x7a817e08

1 0x7a8611e7

1 0x7a8aa5c5

1 0x7a8f39a4

1 0x7a93cd83

1 0x7a986161

1 0x7a9cf542

SKGXP_KEEPALIVE_RESET: alarm unblocked already

SKGXP_KEEPALIVE_RESET: restting shared signal for keep alive messages

SKGXP_KEEPALIVE_RESET: re-initing shared signal for keep alive messages

SKGXP_KEEPALIVE_RESET: setting alarm for keep alive messages

*** 2008-04-24 15:26:59.079

0 GCS shadows cancelled, 0 closed

14477 GCS resources traversed, 0 cancelled

LMS 1: 97446 GCS resources on freelist, 126190 on array, 126190 allocated

30592 GCS shadows traversed, 0 replayed, 0 duplicates

lms 1 finished replaying gcs resources

0 write requests issued in 7498 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 7456 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 7484 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 7468 GCS resources

0 PIs marked suspect, 0 flush PI msgs

0 write requests issued in 686 GCS resources

0 PIs marked suspect, 0 flush PI msgs

lms 1 finished fixing gcs write protocol

-The End-

By eygle on 2008-06-04 16:50 |

Comments (0) |

| 1929 |

oracle lms进程 内存,Oracle进程:LMS 进程与Oracle RAC相关推荐

  1. oracle进程内存不足1046552,ora-04030 进程内存不足解决方案

    方案一: ORA-04030:在尝试分配...字节 (hash-join subh,kllcqas:kllsltba) 时进程内存不足. ORA-04030:out of process memory ...

  2. linux java 进程内存_linux – 在java进程中消耗内存的是什么?

    我们正在尝试在中等负载下研究 java进程的内存使用情况. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 12663 test 20 0 ...

  3. Linux测量进程内存峰值,linux / unix进程的峰值内存使用情况

    请务必回答这个问题 . 提供详细信息并分享您的研究! 对不起,我是第一次来这里,只能提问... 使用建议: valgrind --tool = massif --pages-as-heap = yes ...

  4. oracle lms进程 内存,Oracle RAC 内存融合(Cache Fusion)

    原标题:Oracle RAC 内存融合(Cache Fusion) 内存融合核心进程 LMS(Global Cache Service Process):这个进程负责完成GCS的大部分工作,它会维护G ...

  5. oracle lms进程 内存,基于oracle 10.2.0.1 rac学习lms进程系列四

    背景 之前,我们了解了lmd进程一些概念,这儿我们学习下另一个重要RAC后台进程,LMS进程. 结论 1,如果lms出现故障,会导致dml事务无法提交,即提交或回退hang住;并且远端节点的DML操作 ...

  6. oracle lms进程 内存,【案例】Oracle ges resource消耗内存高报错ORA-04031 MOS解决办法...

    天萃荷净 Oracle研究中心案例分析:运维DBA反映Oracle数据库10.2.0.4.12每间隔一段时间就必须重启,运行一断时间报ORA-04031错误oracle ges res cache l ...

  7. day06 : 01 Oracle 体系结构概念,内存结构,内存结构(服务器进程和用户进程)

    一    概念: 1. 实例/instance: 后台进程+共享内存 用于管理和控制数据库  数据库/database: 物理文件的集合 为实例提供数据,如数据文件,控制文件,参数文件,日志文件等   ...

  8. oracle 尝试分配内存,ORA-04030: 在尝试分配 .. 时进程内存不足

    os:aix 5300 db:10.2.0.4 物理内存32G 从客户端一查询大点的数据就报ora-04030 两节点都会报: SQL> select * From user_tab_parti ...

  9. Oracle架构实现原理、含五大进程解析(图文详解)

    目录 目录 前言 Oracle RDBMS架构图 内存结构 系统全局区SGA 高速缓存缓冲区数据库缓冲区 日志缓冲区 共享池 其他结构 进程结构 用户连接进程 用户进程User Process Ser ...

最新文章

  1. 50的阶乘用c语言编写,求10000的阶乘(c语言代码实现)
  2. editplus配置 linux shell 语法高亮 自动补全
  3. HTML的input类型为hidden导致无法reset改字段的value问题
  4. 中国系统集成商名单大全
  5. 水星路由器DNS服务器未响应,水星路由器进不去设置怎么办
  6. Python+django网页设计入门(10):分页显示
  7. Flink + TiDB,体验实时数仓之美
  8. 智能陈桥五笔输入法 for linux,陈桥五笔输入法官方下载
  9. 计算机远程桌面相关服务,远程桌面服务是哪个
  10. 征集对智能视觉组eIQ的使用反馈
  11. ftp服务器21端口无法连接
  12. win7设置计算机共享的打印机共享的打印机共享,告诉你win7打印机共享设置教程...
  13. mysql 文本 挖掘_GitHub - myseve/dianping_textmining: 大众点评评论文本挖掘,包括点评数据爬取、数据清洗入库、数据分析、评论情感分析等的完整挖掘项目...
  14. 熬夜加班问题总结反思
  15. 关于内部用户通过easy-ip访问外网
  16. Python:利用matplotlib库画各种统计图
  17. 亚马逊云科技风力发电厂在福勒岭启动了!
  18. QT读书笔记—绘图基础
  19. ocr文字识别如何识别文字?
  20. oracle --sql 排名函数

热门文章

  1. 【翻译】四种类型的为什么:产品背后的驱动力是什么?
  2. 印尼用户app使用特点
  3. jQuery整理笔记七----几个经典表单应用 .
  4. 高音质游戏无线蓝牙耳机推荐,低延迟吃鸡王者兼容无压力
  5. 【虚幻引擎UE】打包异常问题合集
  6. # HNOI2012 ~ HNOI2018 题解
  7. 网络安全将是未来10年里面的黄金产业
  8. Web前端学习笔记——HTML5与CSS3之购物车宣传案例
  9. 痞子衡嵌入式:语音处理工具Jays-PySPEECH诞生记 - 索引
  10. a-upload上传图片