| |
 |
|
Oracle 11.2 new v$ iostat views
Oracle Tips by Burleson Consulting
February 11, 2012
|
Oracle release 11.2 has introduced new iostat views that show the
resource usage against the physical disk spindles.
These are very important new AWR tables because it allows Oracle
to look outside of the database and get statistics directly on disk
service rimes.
v$iostat_consumer_group
v$iostat_file: This has valuable file I/O
statistics. What is missing is the all-important disk enqueues
which would indicate disk contention for a device. However,
this could be inferred from read service time, provided that the two
AWR snapshots are less then 60 seconds apart and the file is not
striped across multiple disks:
|
file_no
|
File
identification number
|
|
filetype_id
|
Type of file
(for example, log file, data file, and so on)
|
|
filetype_name
|
Name of the
file, in the case of a data file or temp file. For all other
files, a corresponding string to be displayed (for example,
ARCHIVELOG).
|
|
small_read_megabytes
|
Number of
single block megabytes read
|
|
small_write_megabytes
|
Number of
single block megabytes written
|
|
large_read_megabytes
|
Number of
multiblock megabytes read
|
|
large_write_megabytes
|
Number of
multiblock megabytes written
|
|
small_read_reqs
|
Number of
single block read requests
|
|
small_write_reqs
|
Number of
single block write requests
|
|
small_sync_read_reqs
|
Number of
synchronous single block read requests
|
|
large_read_reqs
|
Number of
multiblock read requests
|
|
large_write_reqs
|
Number of
multiblock write requests
|
|
small_read_servicetime
|
Total service
time (in milliseconds) for single block read requests
|
|
small_write_servicetime
|
Total service
time (in milliseconds) for single block write requests
|
|
small_sync_read_latency
|
Latency for
single block synchronous reads (in milliseconds)
|
|
large_read_servicetime
|
Total service
time (in milliseconds) for multiblock read requests
|
|
large_write_servicetime
|
Total service
time (in milliseconds) for multiblock write requests
|
|
asynch_io
|
Indicates
whether asynchronous I/O is available for the file (ASYNC_ON) or not (ASYNC_OFF)
|
|
retries_on_error
|
Number of
read retries on error
|
v$iostat_function & v$iostat_function_detail:
This table marks what processes are writing to each
disk spindle. Interesting, but not too helpful in tuning:
RMAN, DBWR, LGWR, ARCH, XDB, Streams, AQ, Data
Pump, Recovery Buffer Cache Reads, Direct Reads, Direct Writes
,Smart Scan, Archive Manager
v$iofunctionmetrics: This table contains
avg wait_time, an indicator of a "busy" disk with read
enqueues that may cause a database to become I/O-bound.
v$iostat_network: This view shows I/O wait
times on network traffic, similar to SQL*Net roundtrip metrics.
We also see corresponding DBA_HIST AWR tables for iostat
information:
dba_hist_iostat_detail
dba_hist_iostat_filetype
dba_hist_iostat_filetype_name
dba_hist_iostat_function
dba_hist_iostat_function_name
|
|
|
|
Guarantee your Success!
Oracle is the
world's most complex, robust and flexible database, considered
impossible to master without a mentor.
That's why all BC
Oracle trainers are working professionals, experts in Oracle who
share their tips and secrets. |
|
| |
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2012
All rights reserved.
Oracle ©
is the registered trademark of Oracle Corporation.
|
|
|
|
|