These Wait Events occur because of Buffer Cache operations involving the DBWR process(es) and I/O Slaves.
This indicates the number of files that Oracle is writing to.
This indicates the total number of blocks to be written.
From Oracle9.2 onwards P3 shows the timeout value in centiseconds to wait for the IO completion.Prior to Oracle9.2 this indicates the total number of I/O requests, which will be the same as P2 (blocks)
This indicates the total number of I/O requests, which will be the same as blocks
This indicates the timeout value in centiseconds to wait for the IO completion.
The wait lasts until ALL of the submitted IO requests are complete. There is no Oracle timeout on this wait prior to Oracle9.2 . From 9.2 onwards the timeout is indicated by P3
This wait should only occur in database writer processes. The blocker is the Operating System IO subsystem.
If this is a significant portion of the total wait time it is not necessarily having a large impact on user sessions. If user sessions show a large wait time on "write complete waits" and / or "free buffer waits" then this is impacting user sessions. A less obvious impact can be on the IO subsystem in that the writes may be impacting read times of sessions reading from the same disks. One can look at:
- <> to see where writes are occuring (although the write TIMES in this view are often wrong).
- Operating system IO subsystem monitoring tools to see write performance
- <> to see if the target recovery time is leading to excessing writing of blocks from the cache.
Most options which can affect DBW throughput are documented in Note:62172.1.
Increase DBWR throughput
DBWR throughput is very platform and version specific so only general observations can be made here. The following items may influence the rate at which DBWR can clear blocks from the cache:Note that there many port specific issues which affect the optimal setup for DBWR on a given platform. These range from choosing a DB_BLOCK_SIZE which is a multiple of the page size used by the operating system for IO operations to configuring Asynchronous IO correctly.Physical disk attributes (stripe size, speed, layout etc..) Raw devices versus File System Files Spreading written data across more disks/files Using Asynchronous writes where available Using multiple database writers where asynch. IO is not available. DB_WRITERS in Oracle7, DBWR_IO_SLAVES in Oracle8/9. Using multiple DB Writer gatherer processes in Oracle8 DB_WRITER_PROCESSES Setting _DB_BLOCK_WRITE_BATCH to a large number. This parameter is obsoleted in 8.1. Using the "Multiple buffer pools" feature in Oracle8 and Higher. See Note:135223.1
Other things that affect the performance of the buffer cache include:
Most common Buffer Cache Waits and Latches
Latches:
Please refers to Note:22908.1 for a complete discussion on detecting and resolving latch contention.
The behavior of this latch can be affected when extended statistics are enabled using the parameters DB_BLOCK_LRU_EXTENDED_STATISTICS and DB_BLOCK_LRU_STATISTICS (These parameters were removed in Oracle8i)
See Note:155971.1 for a detailed case-study on how to diagnose and resolve intensive random access performance problems.
undo header:
undo block:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29337971/viewspace-1816626/ ,如需转载,请注明出处,否则将追究法律责任。