Oracle 日誌管理一例
今天檢查一個資料庫時發現有很多關於log的大量等待如下:
log file parallel write
log file sync
log buffer space
查詢相關資料得到關於這些事件的詳細敘述:
log buffer space
Waiting for space in the log buffer because the session is writing data into the log buffer faster than LGWR can write it out. Consider making the log buffer bigger if it is small, or moving the log files to faster disks such as striped disks.
Wait Time: Usually 1 second, but 5 seconds if it is waiting for a Switch Logfile to complete
Parameters: None
log file parallel write
Writing redo records to the redo log files from the log buffer.
Wait Time: Time it takes for the I/Os to complete. Even though redo records are written in parallel, the parallel write is not complete until the last I/O is on disk.
Parameter | Description |
---|---|
files | Number of files to be written |
blocks | Number of blocks to be written |
requests | Number of I/O requests |
log file sync
When a user session commits, the session's redo information needs to be flushed to the redo logfile. The user session will post the LGWR to write the log buffer to the redo log file. When the LGWR has finished writing, it will post the user session.
Wait Time: The wait time includes the writing of the log buffer and the post.
Parameter | Description |
---|---|
buffer# | The number of the physical buffer in the redo log buffer that needs to be synchronized |
---------- ------- ------- ------------------------------------------------------------ ---
1 ONLINE /ora/u02/oradata/cudwh01/cudwh01_redo_1a.log NO
1 ONLINE /ora/u04/oradata/cudwh01/cudwh01_redo_1b.log NO
1 ONLINE /ora/u04/oradata/cudwh01/cudwh01_redo_1c.log NO
4 ONLINE /ora/u02/oradata/cudwh01/cudwh01_redo_4a.log NO
4 ONLINE /ora/u04/oradata/cudwh01/cudwh01_redo_4b.log NO
4 ONLINE /ora/u05/oradata/cudwh01/cudwh01_redo_4c.log NO
---------- ---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ------------ ------------ ------------
1 1 52359 209715200 512 3 NO ACTIVE 1.1527E+10 20-JUL-11 1.1527E+10 20-JUL-11
4 1 52360 209715200 512 3 NO CURRENT 1.1527E+10 20-JUL-11 2.8147E+14
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/674865/viewspace-702614/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle日誌管理Oracle
- ORACLE的日誌管理Oracle
- 日誌分析一例
- oracle 日誌檔案管理Oracle
- oracle之 Oracle歸檔日誌管理Oracle
- Oracle歸檔日誌管理技巧Oracle
- Oracle archive log 歸檔日誌管理OracleHive
- 使用外部表管理Oracle 告警日誌Oracle
- Oracle聯機日誌檔案丟失解決方法一例Oracle
- 日誌管理
- oracle11G歸檔日誌管理Oracle
- Oracle 監聽器日誌配置與管理Oracle
- Oracle的日誌管理攻略(網文摘錄)Oracle
- RAC歸檔日誌還原一例
- 【Oracle】歸檔日誌管理-設定歸檔日誌路徑以及歸檔日誌冗餘Oracle
- Oracle日誌Oracle
- 2 Day DBA-管理Oracle例項-管理聯機重做日誌-切換日誌檔案Oracle
- 【Oracle日誌】- 日誌檔案重建Oracle
- oracle效能調優:管理oracle日誌之調整線上日誌檔案Oracle
- Mysql 日誌管理MySql
- 重做日誌管理
- 日誌管理程式
- mysql日誌管理MySql
- REDO日誌管理
- Oracle RAC中使用RMAN管理歸檔日誌Oracle
- 管理oracle日誌之調整檢查點Oracle
- 【儲存管理】日誌管理
- 2 Day DBA-管理Oracle例項-管理聯機重做日誌-練習:切換日誌檔案Oracle
- 2 Day DBA-管理Oracle例項-管理聯機重做日誌- 多路複用聯機重做日誌Oracle
- oracle alert日誌Oracle
- Oracle 附加日誌Oracle
- linux日誌管理Linux
- MySQL日誌管理,舊MySql
- 管理日誌檔案
- redo重做日誌管理
- 【MySQL日誌】MySQL日誌檔案初級管理MySql
- 2 Day DBA-管理Oracle例項-管理聯機重做日誌Oracle
- 2 Day DBA-管理Oracle例項-管理聯機重做日誌-練習:多路複用聯機重做日誌Oracle