RAC Wait Event: gcs log flush sync
来源:互联网 发布:淘宝店铺折扣价设置 编辑:程序博客网 时间:2024/05/17 22:24
Contents
- Overview : gcs log flush sync wait event
- Monitor gv$session wait events for LGWR, LMS processes
- Gcs Log Flush Sync Wait histogramms
- References
Overview : gcs log flush sync wait event
- Before sending a reconstructed CR block or CUR block, LMS will verify that corresponding redo vectors are flushed to disk.
- LMS will flush request a log flush when there are uncomitted transactions within the required block -> Increasing commit frequence will increase this wait event too
- Use lfsdiag.sql script to understand the wait time suffered by LGWR process
- If the redo vector are not flushed, LMS on node2 need to wait for ‘gcs log flush sync’ event after requesting LGWR for a log flush, analogous to ‘log file sync’ event.
- in a healthy database 90 % of GCS Log flush Sync should be 2ms ore less
- Always check related instances for LOG FILE SYNC event as this event also reduces the Redo I/O bandwith
- If gcs log flush sync wait event is significant then you need to understand your LGWR performance ( you may use lfsdiag,sql script )
Monitor gv$session wait events for LGWR, LMS processes
SQL> select w.inst_id, w.sid,w.program, w.event , w.STATE , w.SECONDS_IN_WAIT SEC_in_WAIT , w.P1TEXT || ': ' || w.P1 || ' - ' || w.P2TEXT || ': ' || w.P2 || ' - ' || w.P3TEXT || ': ' || w.P3 as P1_P2_P3 from gv$session w where program like '%LGWR%' or program like '%LMS%' or program like '%JDBC%' order by program;INST_ID SID PROGRAM EVENT STATE SEC_IN_WAIT P1_P2_P3------- ---------- -------------------------------- ---------------------------- ------------------ ----------- --------------------------------------------- 2 18 oracle@grac42.example.com (LGWR) log file parallel write WAITED SHORT TIME 0 files: 1 - blocks: 1 - requests: 1 2 13 oracle@grac42.example.com (LMS0) gcs log flush sync WAITING 0 waittime: 30 - poll: 0 - event: 138
Gcs Log Flush Sync Wait histogramms
Script: @event_histogram_from_awr.sqlAcceptable gcs log flush sync histogramm (90 % of wait requests returns in less that 2 ms )BEGIN_INTERVAL_TIME Inst SNAP_ID EVENT_NAME WAIT_TIME_MILLI WAIT_COUNT------------------------------ ---- ---------- ---------------- --------------- ----------28-NOV-13 04.24.27.507 PM 1 876 gcs log flush sync 1 58940 1 876 gcs log flush sync 2 51775 1 876 gcs log flush sync 4 1433 1 876 gcs log flush sync 8 605 1 876 gcs log flush sync 16 271 1 876 gcs log flush sync 32 181 1 876 gcs log flush sync 64 133 1 876 gcs log flush sync 128 78 1 876 gcs log flush sync 256 7 1 876 gcs log flush sync 512 1 Gcs log flush sync wait histogramm with high wait times 28-NOV-13 04.25.58.021 PM 1 877 gcs log flush sync 1 304 1 877 gcs log flush sync 2 662 1 877 gcs log flush sync 4 11816 1 877 gcs log flush sync 8 46981 1 877 gcs log flush sync 16 68740 1 877 gcs log flush sync 32 202 1 877 gcs log flush sync 64 141 1 877 gcs log flush sync 128 83 1 877 gcs log flush sync 256 8 1 877 gcs log flush sync 512 1
0 0
- RAC Wait Event: gcs log flush sync
- gcs log flush sync
- gc buffer busy/gcs log flush sync与log file sync
- log file sync and log file parallel wait event
- oracle event ----- Log file sync
- Oracle wait event --- log file switch
- RAC 数据库中的 'log file sync' 等待事件
- RAC 性能分析 - 'log file sync' 等待事件
- RAC的GES/GCS原理
- RAC 中GES/GCS原理
- Know more about RAC statistics and wait event
- log file parallel write wait event(摘自sharklove)
- RAC的GES/GCS原理(1)
- RAC的GES/GCS原理(2)
- Rac 的GES/GCS原理(3)
- Rac 的GES/GCS原理(4)
- Rac 的GES/GCS原理(5)
- Rac 的GES/GCS原理7
- JavaScript 闭包详解
- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver 解决方法
- 数据库原理----学习目标
- 列表小结
- Lucene的几种分词系统
- RAC Wait Event: gcs log flush sync
- 55分钟学会正则表达式(译)
- OpenStack Metadata 服务机制及配置方式
- Shell排序——软考(五)
- iphone4s经过地图页面直接跳转到其它页面导致页面不能正常加载
- 二、通过纯代码创建的UICollectionView的简单使用
- openssl-1.0.1用mingw编译
- Oracle动态游标
- OPENWRT MT7620 移植加开发