_use_adaptive_log_file_sync設定 降低log_file_sync等待
該引數可以參考以下解述:
Adaptive Log File sync was introduced in 11.2. the feature is exactly enabled since release 11.2.0.3 , It’s enabled through an underscore parameter called _use_adaptive_log_file_sync and the description of this parameter is: adaptively switch between post/wait and polling.
Oracle can switches between the 2 methods:
Post/wait, traditional method for posting completion of writes to redo log
LGWR explicitly posts all processes waiting for the commit to complete.
The advantage of the post/wait method is that sessions should find out almost immediately when the redo has been flushed to disk.
Polling, a new method where the foreground process checks if the LGWR has completed the write.
Foreground processes sleep and poll to see if the commit is complete. The advantage of this new method is to free LGWR from having to inform many processes waiting on commit to complete thereby freeing high CPU usage by the LGWR.If post/wait is ed and the foreground processes fail to receive a post from LGWR, an incident is recorded.diagnostic traces are performed, and polling is used instead of post/wait.
Oracle uses semaphores extensively, If you look for references to “commit” in the Oracle docs, you’ll find the word “post” everywhere when they talk about communication between the foreground processes and LGWR. Now, remember that a COMMIT has two options: first, IMMEDIATE or BATCH and second, WAIT or NOWAIT. It looks like this to me:
Immediate: FG process will post to LGWR, triggering I/O (default)
Batch: FG process will not post LGWR
Wait: LGWR will post FG process when I/O is complete (default)
NoWait: LGWR will not post FG process when I/O is complete
“_use_adaptive_log_file_sync” is a dynamic parameter that can be changed at system level.
ALTER SYSTEM SET “_use_adaptive_log_file_sync”= false;
Known Issues with “_use_adaptive_log_file_sync” set to TRUE
See the following documents with information on bugs involving Adaptive Log File Sync:
Document 1462942.1 Adaptive Switching Between Log Write Methods can Cause ‘log file sync’ Waits
Document 13707904.8 Bug 13707904 – LGWR sometimes uses polling, sometimes post/wait
Document 13074706.8 Bug 13074706 – Long “log file sync” waits in RAC not correlated with slow writes
maclean和玉面飛龍等大神的文章
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28572479/viewspace-2130627/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WinAppDriver 等待時間設定技巧APP
- 安卓手機呼叫等待怎麼設定?安卓
- Linux設定開機等待時間Linux
- _use_adaptive_log_file_syncAPT
- redo的等待log file sync和log file parallel write和redo size設定Parallel
- GPU伺服器定製化降低成本GPU伺服器
- 10046 等待事件可設定的4個級別(level 1,4,8,12)事件
- 程式設計師你是如何降低NPE的?程式設計師
- 【等待事件】等待事件系列(5.1)--Enqueue(佇列等待)事件ENQ佇列
- Laravel setting 設定 / 系統設定 / 網站設定Laravel網站
- 大疆降低Inspire 2無人機的最高設計時速無人機
- 12c設定RESULT_CACHE_MODE=MANUAL發生'Result Cache:RC Latch'型別的Latch Free等待型別
- 【等待事件】ORACLE常見等待事件事件Oracle
- selenium(7)強制等待,顯式等待和隱式等待。
- 搞笑抑或悲傷:如何降低程式設計師的工資?程式設計師
- win10電腦 tls安全設定怎麼設定為預設設定Win10TLS
- 如何設定 HomePod?HomePod設定教程分享
- 等待事件事件
- 【等待事件之二】log 相關的等待事件
- Jenkins定時設定Jenkins
- scrapy預設設定
- 談一談如何降低設計在實現中的損耗!
- 雲端計算技術降低了IT成本,但是降低的幅度會多大?
- Pycharm 設定PyCharm
- 路由設定路由
- webstorm設定WebORM
- vim設定
- 設定NFSNFS
- MTU設定
- 設定 sar
- crontab 設定
- EVENTS設定
- 設定dhcpd
- 設定tftpFTP
- cfosspeed設定
- STS設定
- .Net程式設計師安卓學習之路6:等待條程式設計師安卓
- Oracle 降低高水位線Oracle