Document 223117.1
Document 223117.1
Document 223117.1
Dashboard Knowledge Service Requests Patches & Updates Community Certifications Systems 223117.1
Collector Advanced Customer Services
Give Feedback... You have been directed to this document based on an ID match. Alternatively, click here to search on this phrase. Hide
Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.
Purpose Yes
No
Purpose
Scope and Application
Document Details
Troubleshooting Steps
Troubleshooting I/O-related waits
Type:
Determining the Real Significance of I/O Wait Events TROUBLESHOOT
Status:
PUBLISHED
Misinterpreting the Impact of Wait Events: Examples Last Major
Update: 04-Aug-2018
Example 1: Statspack before Oracle9i Release 2 Last 16-Jan-2019
Update: English
Example 2: AWR after Oracle10i Release 2
Language:
General Approaches for Handling I/O Problems
Reduce the general IO traffic being generated by the database
Related Products
Reduce the I/O requirements of the database by tuning instance parameters
Oracle Database Cloud
Make the remaining IO as efficient as possible Schema Service
Oracle Database Exadata
Balancing the database I/O by usage of Oracle ASM (Automatic Storage Manager)
Express Cloud Service
Balancing the database I/O by usage of Striping, RAID, SAN or NAS Oracle Database Exadata
Cloud Machine
Redistribute database I/O by manual placement of database files across different filesystems, controllers and physical Oracle Database Cloud
devices Exadata Service
Oracle Database Backup
Managing Runaway IO Using Resource Manager Service
Show More
Avoid External IO contention
Use Faster Hardware
Information Centers
Leverage New Technology
Datafile I/O related Wait Events
'db file sequential read'
'db file scattered read' Document References
'db file parallel read'
Direct Path Reads and Writes Recently Viewed
Temporary Tablespace I/O related Wait Events Script To Monitor Memory
'direct path write temp' Usage By Database Sessions
[239846.1]
'direct path read temp' Understanding and Tuning
Controlfile I/O related Wait Events Buffer Cache and DBWR
[62172.1]
'control file parallel write' Troubleshooting I/O Related
'control file sequential read' and 'control file single write' Waits [223117.1]
Listener Hang , Lsnrctl Slow
Redo Logging I/O-Related Wait Events Response , Tnsping Slow,
'log file parallel write' Sqlplus remote connections
fails [2305554.1]
'log file sync' Receiving An Error ORA-
'log file sequential read' and 'log file single write' 16765: Redo Apply Is
Running [2188168.1]
'switch logfile command' ,'log file switch completion' and 'log file switch (clearing log file)' Show More
'log file switch (checkpoint incomplete)'
'log switch/archive' and 'log file switch (archiving needed)'
Buffer Cache I/O-Related Wait Events
'db file parallel write' , 'db file single write', 'write complete waits', 'free buffer waits'
Footnote
Who to contact for more information?
Community Discussions
Use Faster Hardware
References
APPLIES TO:
PURPOSE
Purpose
This article provides guidelines for tuning an Oracle database when the main source of contention is I/O-related.
AWR (or Statspack) reports show I/O wait events in the "Top 5 Wait/Timed Events" section.
SQL Tracing with wait events of a database session shows it is limited mainly by I/O wait events.
Operating System tools show very high utilization or saturation of disks used for storage of database files.
The article should be of use to Database Administrators, Support Engineers,Consultants and Database Performance Analysts.
TROUBLESHOOTING STEPS
A critical activity in Database Performance Tuning is Response Time Analysis. This consists of finding out where time is being
spent in a database. Time is the most important property in Performance Tuning. Users perceive the performance of a system
through the response time they experience for their transactions or batch jobs. Response Time Analysis for an Oracle Database
is done using the following equation:
'Service Time' is measured using the statistic 'CPU used by this session'
'Wait Time' is measured by summing up time spent on Wait Events
NOTE: Although similar in appearance, this equation is not the fundamental equation of mathematical Queueing Theory.
Performance Tuning methods using tools such as AWR and statspack work by evaluating the relative impact of the various
components of overall Response Time and direct the tuning effort to those components having the most impact in terms of time
consumed. For a detailed discussion of this subject please refer to
Starting with Oracle10g the above process is carried out automatically by the Automatic Database Diagnostic Monitor (ADDM).
See
Many tools including AWR and Statspack produce listings of the most significant Timed Events . When presented with such a list
of top timed Events it sometimes becomes easy to simply start dealing with the listed events and to forget evaluating their
impact on overall Response Time first. In situations where 'Service Time' i.e. CPU usage is much more significant than 'Wait
Time', it is very likely that investigating timed events will not produce significant savings in 'Response Time'. Therefore, one
should always compare the time taken by the top wait events to the 'CPU used by this session' and direct the tuning effort to the
biggest consumers.
Legacy information: Prior to Oracle9i Release 2 Statspack reports contain this information in a section called "Top 5 Wait
Events". The "Top 5 Wait Events" section has been renamed to "Top 5 Timed Events" where 'Service Time' as measured by the
statistic 'CPU used by this session' is listed as 'CPU time' (this started in Oracle9i Release 2). This means that it is now easier to
accurately measure the impact of Wait Events in overall 'Response Time' and to correctly target the subsequent tuning effort.
Misinterpreting the Impact of Wait Events: Examples
Following are 2 real life example of why it is important to look at both 'Wait Time' and 'Service Time' when investigating
database performance.
Example 1: Statspack before Oracle9i Release 2
Following is the "Top 5 Wait Events" section of a Statspack report generated from two snapshots 46 minutes apart:
Based on this listing we may be tempted to immediately start looking at the causes between the 'direct path read' and 'db file
scattered read' waits and to try to tune them. This approach would not take into account 'Service Time'. The following is the
statistic that measures 'Service Time' from the same report:
It is now obvious that the I/O-related Wait Events are not really a significant component of the overall Response Time (less than
6%) and that subsequent tuning should be directed to the Service Time component i.e. CPU consumption.
Note: Similar information is displayed in Statspack Report from Oracle 9i Release 2 onwards.
In AWR it is much easier to see that CPU is a significant proportion of the time because a CPU component is included in the "Top
5 Timed Foreground Events" section. In the above example we see again that the wait events are less than 20% of the total
time and that subsequent tuning should be directed to the Service Time component i.e. CPU consumption.
After an analysis of the database's Response Time using Statspack (for example) has shown that performance is limited by I/O-
related Wait Events, a number of possible approaches can be followed. Refer to the following section for the approaches to
follow for each Wait Event. Some of the approaches can be used regardless of the particular Wait Event. In the following section
we present and explain the concepts and rationale behind each approach.
By reducing the activity in the database, it follows that the IO activity is also likely to be reduced. The following areas can be
addressed:
Tune SQL doing the most IO (or logical reads). Even tuning SQL not doing "db file scattered read" might lighten any
general IO congestion.
Size the SGA buffer cache based on the advisors
Tune the "schema" e.g. investigate if partitioning can reduce IO
Look for objects that can be shrunk via online shrink (leveraging Segment Advisor) / perhaps in conjunction with purging
old data.
Investigate the use of materialized views to save both onlybe processing time and IO in general (and possibly of offload
processing to a remote DB).
Result caching allows you to store the results of queries, query fragments and function result sets. For details see:
https://docs.oracle.com/database/121/CNCPT/memory.htm#CNCPT007
Investigate the Advanced Compression option (to reduce the amount of IO required)
Cache specific objects into the SGA buffer cache
A database with no user SQL being run generates little or no I/O. Ultimately all I/O generated by a database is directly or
indirectly due to the nature and amount of user SQL being submitted for execution.
This means that it is possible to limit the I/O requirements of a database by controlling the amount of I/O generated by
individual SQL statements. This can be accomplished by tuning SQL statements so that their execution plans result in a minimum
number of I/O operations. Typically in a problematic situation there will only be a few SQL statements with suboptimal execution
plans generating a lot more physical I/O than necessary and degrading the overall performance for the database.
Starting with Oracle10g, ADDM aids the SQL tuning process by automatically identifying the SQL statements with most impact.
The SQL Tuning Advisor can then be used to automatically tune these statements and reduce their I/O resource consumption.
For more information please see:
The amount of I/O required by the database is limited by the use of a number of memory caches e.g. the Buffer Cache,
the Log Buffer, various Sort Areas etc. Increasing the Buffer Cache, up to a point, results in more buffer accesses by
database processes (logical I/Os) being satisfied from memory instead of having to go to disk (physical I/Os). With larger
Sort Areas in memory, the likelihood of them being exhausted during a sorting operation and having to use a temporary
tablespace on disk is reduced. The other caches also work according to similar concepts.
The size of multiblock I/O is controlled by the db_file_multiblock_read_count parameter which became self-tuning in
Oracle 10g Release 2 . From Oracle 10g Release 2, this parameter is set automatically to a function of buffer cache size
and the sessions parameter. Adjustment is not recommended. See:
Asynchronous I/O: Asynchronous I/O does not reduce traffic but allows processes to do other things while waiting for IO
to complete.
Direct I/O (bypassing the Operating System's File Caches) : Direct IO does not reduce traffic but may use a shorter code
path / fewer CPU cycles to perform the IO.
See:
Document 432854.1 Asynchronous I/O Support on OCFS/OCFS2 and Related Settings: filesystemio_options, disk_asynch_io
Another possible action is to raise the limit of maximum I/O size per transfer (referred to as max_io_size in this article).
Balancing the database I/O by usage of Oracle ASM (Automatic Storage Manager)
ASM is introduced with Oracle10g. It is a file system and volume manager built into the database kernel. It automatically does
load balancing in parallel across all available disk drives to prevent hot spots and maximize performance, even with rapidly
changing data usage patterns. It prevents fragmentation so that there is never a need to relocate data to reclaim space. Data is
well balanced and striped over all disks.
You can also make use of the Intelligent Data Placement feature as documented below:
https://docs.oracle.com/cd/E11882_01/server.112/e18951/asmdiskgrps.htm#OSTMG13790
This approach relies on storage technologies such as Striping, RAID, Storage Area Networks (SAN) and Network Attached
Storage (NAS) to automatically load balance database I/O across multiple available physical disks in order to avoid disk
contention and I/O bottlenecks when there is still available unused disk throughput in the storage hardware.
Redistribute database I/O by manual placement of database files across different filesystems, controllers and physical
devices
This is an approach used in the absence of advanced modern storage technologies. Again the aim is to distribute the database
I/O so that no single set of disks or controller becomes saturated from I/O requests when there is still unused disk throughput.
It is harder to get right than the previous approach and most often less successful.
It is important to remember that some I/O will always exist in most databases. After all the guidelines above have been
considered, if performance is still not satisfactory on the existing system, you can consider:
Reducing the data volumes of the current database by moving older data out.
Investing in more and/or faster hardware
If individual sessions are using excessive IO, then you might be able to throttle their activity using resource manager such that
they do not affect other activities on the database. See:
Document 1600965.1 Managing and Monitoring Runaway Query Using Resource Manager
White Paper: Effective Resource Management Using Oracle Database Resource Manager
If devices are in use by activities external to the database, these may contend with database activities and reduce their
performance.
Look out for oversubscribing IO bandwidth across too many virtual environments (Exadata has IORM)
Schedule backups to avoid competing with important batch jobs (avoid potentially IO heavy operations running
simultaneously)
What other systems are attached to the same NAS storage? How much IO are they generating?
Is the storage doing any resilvering work (replacement of bad disk mirrors)? ASM rebalancing activity?
If the hardware itself is slow this may be limiting the performance. There may be hardware upgrades or optimizations available:
Faster disks (10K rpm vs. 7200 rpm, more disk level cache, no energy saving - idling / spin reduction)
Use of outside tracks vs. inside tracks (intelligent data placement)
Flash storage / intelligent storage array caches
Exadata storage (leveraging HCC, storage indexes)
Infiniband networks to reduce network latency of IO (and/or?) higher bandwidth
Technology is developing continuously and theyre may be new technology available to improve IO such as FS1 Storage Server
and other technologies. See:
https://www.oracle.com/corporate/pressrelease/fs1-flash-storage-system-092914.html
https://www.oracle.com/us/products/servers-storage/pillar-axiom-software-ds-487459.pdf
This is one of the most common I/O-related waits.It is in most cases a single block read e.g. for index data blocks or for table
data blocks accessed through an index but can also be seen for reads on datafile header blocks. In earlier versions it could be a
multi-block read from Sort segments on disk to contiguous ('sequential') buffers in the Buffer Cache. To troubleshoot cases
where high waits for this event are seen, see:
Document 1475825.1 Resolving Issues Where Application Queries are Waiting Too Frequently for 'db file sequential read'
Operations
Document 1477209.1 Resolving Issues Where Application Queries are Waiting Too Long for 'db file sequential read'
Operations Due to Underlying I/O Issues
If this Wait Event is a significant portion of Wait Time then a number of approaches are possible:
Find the Top SQL statements in Physical Reads (from a Statspack or AWR report
in the section titled "SQL ordered by Reads" or from the view V$SQL)
and tune them in order to reduce their I/O requirements:
If Index Range scans are involved, more blocks than necessary could be being visited if the index is unselective.
By forcing or enabling the use of a more selective index, we can access the same table data by visiting fewer index
blocks (and doing fewer physical I/Os).
If indexes are fragmented, again we have to visit more blocks because there is less index data per block.
In this case, rebuilding the index will compact its contents into fewer blocks. Indexes can be (online) rebuilt,
shrunk, or coalesced.
If the index being used has a large Clustering Factor, then more table data blocks have to be visited in order to get
the rows in each index block: by rebuilding the table with its rows sorted by the particular index columns we can
reduce the Clustering Factor and hence the number of table data blocks that we have to visit for each index block.
For example, if the table has columns A, B, C & D and the index is on B, D then we can rebuild the table as:
CREATE TABLE new AS SELECT * FROM old ORDER BY b,d;
See:
Use Partitioning to reduce the number of index and table data blocks to be visited for each SQL statement by
usage of Partition Pruning.
If there are no particular SQL statements with bad execution plans doing more physical I/Os than necessary, then one of
the following may be happening:
I/Os on particular datafiles may be being serviced slower due to excessive activity on their disks. In this case,
looking at the Statspack "File I/O Statistics" section (or V$FILESTAT) will help us find such hot disks and spread
out the I/O by manually moving datafiles to other storage or by making use of Striping, RAID and other
technologies to automatically perform I/O load balancing for us.
Starting with Oracle 9.2, we can also find which segments (tables or indexes) have the most Physical Reads being
performed against them by using the new Segment Statistics data from view V$SEGMENT_STATISTICS.We can
then look in detail at such segments and see if e.g. indexes should be rebuilt or Partitioning could be used to
reduce I/O on them.
Statspack also generates a "Segment Statistics" report starting at level 7.
If there is no SQL with suboptimal execution plans and I/O is evenly spread out with similar response times from all disks
then a larger Buffer Cache may help:
In Oracle10g and above Automatic Shared Memory Management (ASMM) can be used to enable the database to
automatically determine the optimal size for the Buffer Cache according to recent workload. For more information
see
For hot segments, usage of Multiple Buffer Pools can be explored: place
such hot indexes and tables in the KEEP Buffer Pool. For details refer to
Finally, you can consider reducing the data held in the most frequently accessed segments (by moving older unneeded
data out of the database) or moving these segments to new faster disks to reduce the response time on their I/Os.
This is another very common Wait Event. It occurs when Oracle performs multi-block reads from disk into non-contiguous
('scattered') buffers in the Buffer Cache. Such reads are issued for up to
DB_FILE_MULTIBLOCK_READ_COUNT blocks at a time. These typically happen for Full Table Scans and for Fast Full Index
scans. To troubleshoot cases where high waits for this event are seen, see:
Document 1476092.1 Resolving Issues Where 'db file scattered read' Waits are Seen Due to IO Performance Problems
Document 1475785.1 Resolving Issues Where Application Queries are Waiting To Often for 'db file scattered read' Operations
If this Wait Event is a significant portion of Wait Time then a number of approaches are possible:
Find which SQL statements perform Full Table or Fast Full Index scans and tune them to make sure these scans are
necessary and not the result of a suboptimal plan.
Starting with Oracle9i the new view V$SQL_PLAN view can help: (ignore data dictionary SQL in the output of these
queries)
Otherwise a possible approach is to find sessions performing multi-block reads by querying V$SESSION_EVENT for this
Wait Event and then SQL Tracing them. Alternatively, the Top SQL statements for Physical Reads can be investigated to
see if their execution plans contain Full Table or Fast Full Index scans.
In cases where such multi-block scans occur from optimal execution plans it is possible to tune the size of multi-block
I/Os issued by Oracle by setting the instance parameter DB_FILE_MULTIBLOCK_READ_COUNT so that
DB_BLOCK_SIZE x DB_FILE_MULTIBLOCK_READ_COUNT = max_io_size of system
As blocks read using Full Table and Fast Full Index scans are placed on the least recently used end of the Buffer Cache
replacement lists, sometimes it may help to use Multiple Buffer Pools and place such segments in the KEEP pool.
For more information please refer to
Partitioning can also be used to reduce the amount of data to be scanned as Partition Pruning can restrict the scan to a
subset of the segment's partitions.
If the activity is mostly from reports or other data warehouse like activity then consider offloading that activity to a read
only standby database or Active Data Guard instance to separate it from OLTP activity on the production system.
With Database 12c is to load such tables into the IM column store (particularly if a good compression ratio can be
achieved). See:
https://docs.oracle.com/database/121/ADMIN/memory.htm#ADMIN14239
Finally, you can consider reducing the data held in the most frequently accessed segments (by moving older unneeded
data out of the database) or moving these segments to new faster disks to reduce the response time on their I/Os.
This Wait Event is used when Oracle performs in parallel reads from multiple datafiles to non-contiguous buffers in memory
(PGA or Buffer Cache). This is done during recovery operations or when buffer prefetching is being used as an optimization i.e.
instead of performing multiple single-block reads.
If this wait is an important component of Wait Time, follow the same guidelines as 'db file sequential read'.
To troubleshoot cases where high waits for this event are seen, refer to:
Document 1476089.1 Resolving Issues Where 'direct path read' Waits are Seen Due to Underlying I/O Performance Problems
Document 1475655.1 Resolving Issues Where 'direct path write' Waits When I/O is NOT Slow and Cause is Unknown
'direct path write'
To troubleshoot cases where high waits for this event are seen, refer to:
Document 1477235.1 Resolving Issues Where 'direct path write' Waits When I/O is Slow
These occur when database processes perform special types of multi-block I/Os between the disk and process PGA memory,
thus bypassing the Buffer Cache.Such I/Os may be performed both synchronously and asynchronously.
Due to the way in which time for these waits is recorded (it does not measure the time taken to perform the I/O), their relative
position in listings such as Statspack's "Top 5 Wait/Timed Events" cannot be used to evaluate their true impact.
(In Oracle9i, it is replaced by _DB_FILE_DIRECT_IO_COUNT which governs the size of direct I/Os in BYTES (not blocks).
The default is 1Mb but will be sized down if the max_io_size of the system is smaller.)
Tune memory Sort areas so that disk I/O for Sorting is minimized:
In 9i and above use Automated SQL Execution Memory Management.
In 8i tune the various Sort areas manually.
For LOB segments, store them on filesystems where an Operating System File
Buffer Cache can provide some memory caching.
Identify sessions performing direct I/Os by querying V$SESSION_EVENT for these Wait Events or V$SESSTAT for
statistics:
'physical reads direct', 'physical reads direct (lob)',
'physical writes direct' & 'physical writes direct (lob)'
and tune their SQL statements.
Identify datafiles on bottle-necked disk storage and move elsewhere using V$FILESTAT or Statspack's "File IO Statistics"
section.
These Wait Events occur during I/O to of from the Temporary Tablespace. High waits for these events imply that significant
activity to the temporary tablespace is occurring. Check for unexpected disk operations that need temporary space. Operations
that may require temporary space include sorts, hash joins etc.
Ensure statistics are up to date so that the optimizer has the best chance to get good execution plans.
Waits for this event occur when waiting for writes to complete to the temporary tablespace. Check the duration of the I/O to
determine if there is an underlying I/O problem then refer to the following articles for more assistance:
Document 1576956.1 How to Address High Wait Times for the 'direct path write temp' Wait Event
Document 2030900.1 Resolving Issues Where 'direct path write temp' Waits are Seen When I/O is NOT Slow and Cause is
Unknown
Document 2097893.1 WAITEVENT: "direct path write temp" Reference Note
Document 1476089.1 Resolving Issues Where 'direct path read' Waits are Seen Due to Underlying I/O Performance Problems
Document 2097861.1 WAITEVENT: "direct path read temp" Reference Note
These Wait Events occur during I/O to one or all copies of the controlfile.Frequency of Controlfile access is governed by activities
such as redo logfile switching and checkpointing. Therefore it can only be influenced indirectly by tuning these activities.
This occurs when a server process is updating all copies of the controlfile. If it is significant, check for bottlenecks on the I/O
paths (controllers,physical disks) of all of the copies of the controlfile.
Possible solutions:
Reduce the number of controlfile copies to the minimum that ensures that not all copies can be lost at the same time.
Use Asynchronous I/O if available on your platform.
Move the controlfile copies to less saturated storage locations.
These wait events occur on I/O to a single copy of the controlfile.If they are significant, find out whether the waits are on
particular copy of the controlfile and if so whether its I/O path is saturated.
The following query can be used to find which controlfile is being accessed. It has to be run when the problem is occurring:
select EVENT, wait_time, seconds_in_wait, state from v$session_Wait where sid = '';
Possible solutions:
There are a number of Wait Events that happen during Redo Logging activities and most of them are I/O-related. The two most
important ones are 'log file sync' and 'log file parallel write'.
Oracle foreground processes wait for 'log file sync' whereas the LGWR process waits for 'log file parallel write'.
Although we usually find 'log file sync' in the "Top 5 Wait/Timed Events" section of the Statspack report, in order to understand
it we will first look at 'log file parallel write':
The LGWR background process waits for this event while it is copying redo records from the memory Log Buffer cache to the
current redo group's member logfiles on disk. Asynchronous I/O will be used if available to make the write parallel, otherwise
these writes will be done sequentially one member after the other.
However, LGWR has to wait until the I/Os to all member logfiles are complete before the wait is completed. Hence, the factor
that determines the length of this wait is the speed with which the I/O subsystem can perform the writes to the logfile
members.
To reduce the time waited for this event, one approach is to reduce the amount of redo generated by the database:
Place redo group members on storage locations so that parallel writes do not contend with each other.
Do not use RAID-5 for redo logfiles.
Use Raw Devices for redo logfiles.
Use faster disks for redo logfiles.
If archiving is being used setup redo storage so that writes for the current redo group members do not contend with
reads for the group(s) currently being archived.
This Wait Event occurs in Oracle foreground processes when they have issued a COMMIT or ROLLBACK operation and are
waiting for it to complete.Part (but not all) of this wait includes waiting for LGWR to copy the redo records for the session's
transaction from Log Buffer memory to disk.
So, in the time that a foreground process is waiting for 'log file sync', LGWR will also wait for a portion of this time on 'log file
parallel write'.
The key to understanding what is delaying 'log file sync' is to compare average times waited for 'log file sync' and 'log file
parallel write':
If they are almost similar, then redo logfile I/O is causing the delay and the guidelines for tuning it should be followed.
If 'log file parallel write' is significantly different i.e smaller, then the delay is caused by the other parts of the Redo
Logging mechanism that occur during a COMMIT/ROLLBACK (and are not I/O-related).
Sometimes there will be latch contention on redo latches, evidenced by 'latch free' or 'LGWR wait for redo copy' wait
events.
Both these Wait Events are I/O-related so they are likely to appear together with 'log file parallel write' if there is I/O contention
on the redo logs. Follow the same guidelines for tuning them.
'switch logfile command' ,'log file switch completion' and 'log file switch (clearing log file)'
This Wait Event occurs when checkpointing activities are not occurring quickly enough.
For guidelines on tuning checkpoint operations please refer to:
These Wait Events occur when archiving is enabled and indicate that archiving is not performing fast enough.
For guidelines on tuning archiving operations please refer to:
These Wait Events occur because of Buffer Cache operations involving the DBWR process(es) and I/O Slaves.
'db file parallel write' , 'db file single write', 'write complete waits', 'free buffer waits'
For guidelines on tuning these waits please refer to the following articles:
Footnote
As a final note in this article, whenever I/O performance and response times are low it is worth checking for related errors in
Operating System logs. There is little point in investigating I/O performance at the Oracle database level if the I/O subsystem is
malfunctioning. If this is the case your Hardware, Operating System or Filesystem vendor should be contacted for assistance.
Please ensure that all steps described in Oracle Installation manuals and Administrator's Reference guides involving Operating
System patches, Kernel parameters & related configuration tasks have been performed on systems hosting Oracle databases.
If you have a specific question, why not open a thread in the MOS Database Tuning Community:
Community Discussions
Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this
subject. (Window is the live community not a screenshot)
Featured articles...
This question is Not Answered.
Hello,
For this month, we are featuring I/O articles. Slow I/O can be tricky to troubleshoot. So we ha
identifying if you have slow I/O, waits that can surface due to slow I/O, and how to troublesho
How to Tell if the I/O of the Database is Slow [Article ID 1275596.1 ]
Document 223117.1 Troubleshooting I/O-related waits
Document 1476092.1 Troubleshooting IO Performance Problems Impacting Sca ered Reads
Resolving Issues Where 'read by other session' Waits When I/O is Slow [Article ID 1477229.1 ]
Resolving Issues Where 'read by other session' Waits Occur When I/O is NOT Slow and Cause
Resolving Issues Where 'direct path read' Waits are Seen Due to Underlying I/O Performance
Resolving Issues Where 'direct path write' Waits When I/O is Slow [Article ID 1477235.1 ]
Tune SQL doing the most IO (or logical reads). Even tuning SQL not doing "db file scattered read" might lighten any IO
congestion.
Size the SGA buffer cache based on the advisors
Tune the "schema" e.g. investigate if partitioning can reduce IO.
Look for objects that can be shrunk via online shrink (leveraging whatever advisor does this) / perhaps in conjunction
with purging old data.
Investigate the Advanced Compression option
Cache specific objects into the SGA buffer cache
If the hardware itself is slow this may be limiting the performance. There may be hardware upgrades or optimizations available:
REFERENCES
NOTE:262687.1 - Using the DBMS_SQLTUNE Package to Run the SQL Tuning Advisor
NOTE:1275596.1 - How to Tell if the I/O of the Database is Slow
Related
Products
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Schema Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Exadata Express Cloud Service
Oracle Cloud > Oracle Infrastructure Cloud > Oracle Cloud at Customer > Oracle Database Exadata Cloud Machine
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Exadata Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Backup Service > Oracle Database Backup Service
Oracle Cloud > Oracle Platform Cloud > Oracle Cloud Infrastructure - Database Service > Oracle Cloud Infrastructure - Database Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Service
Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > RDBMS > Database Level Performance Issues (not SQL Tuning)
Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Standard Edition > RDBMS > Database Level Performance Issues (not SQL Tuning)
Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Personal Edition > RDBMS > Database Level Performance Issues (not SQL Tuning)
Keywords
DIRECT I/O; DISK_ASYNCH_IO; I O; TROUBLESHOOT
Translations
English Source Japanese 日本語
Back to Top
Copyright (c) 2019, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement