Oracle 视图 DBA_HIST_IOSTAT_DETAIL 官方解释,作用,如何使用详细说明
本站中文解释
_VIEW视图 Oracle DBA_HIST_IOSTAT_DETAIL_VIEW视图是用来存储每次实例重新启动之后,IO性能参数的历史信息。该视图包含SQL语句,像IOPS(每秒I/0操作数),数据传输量以及平均延迟等。
要使用DBA_HIST_IOSTAT_DETAIL_VIEW视图,首先必须在_io_stat_duration和_io_stat_delta初始化参数值上开启性能参数收集。然后可以使用如下查询,从DBA_HIST_IOSTAT_DETAIL_VIEW视图检索所需IO性能信息,如下:
SELECT *
FROM dba_hist_iostat_detail_view
WHERE snap_id BETWEEN &start_id AND &end_id;
上述查询将返回在指定时间(start_id和end_id之间)收集的IO性能指标和参数信息,例如IOPS,数据传输量,最大延迟等。这种查询特别有用,当用户正在监视数据库性能时,可以把IO性能参数记录到dba_hist_iostat_detail_view视图中。
官方英文解释
DBA_HIST_IOSTAT_DETAIL
displays I/O statistics aggregated by combination of file type and function (component).
This view contains snapshots of V$IOSTAT_FILE
and V$IOSTAT_FUNCTION
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Unique snapshot ID |
|
|
|
Database ID for the snapshot |
|
|
|
Instance number for the snapshot |
|
|
|
Function ID |
|
|
|
Function name |
|
|
|
Type of file (for example, log file, data file, and so on) |
|
|
|
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, |
|
|
|
Number of single block megabytes read |
|
|
|
Number of single block megabytes written |
|
|
|
Number of multiblock megabytes read |
|
|
|
Number of multiblock megabytes written |
|
|
|
Number of single block read requests |
|
|
|
Number of single block write requests |
|
|
|
Number of multiblock read requests |
|
|
|
Number of multiblock write requests |
|
|
|
Number of I/O waits by functionality |
|
|
|
Total wait time (in milliseconds) |
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
See Also:
-
“V$IOSTAT_FILE”
-
“V$IOSTAT_FUNCTION”