Oracle 视图 DBA_HIST_IOSTAT_FILETYPE 官方解释,作用,如何使用详细说明

本站中文解释

DBA_HIST_IOSTAT_FILETYPE视图是Oracle数据库中提供的动态性能视图,属于Oracle性能分析的一部分。

DBA_HIST_IOSTAT_FILETYPE视图从V$BH视图中查询出每个数据文件的当前IO读/写状态。它返回数据库文件的性能摘要,包括数据文件名称、空间使用情况、磁盘I/O状态等信息。

可以使用该视图查看每个数据文件的I/O读/写情况,以及哪些数据文件的磁盘I/O最忙。这有助于数据库管理员识别瓶颈并进行优化,提高数据库I/0性能。

可以使用DBA_HIST_IOSTAT_FILETYPE视图来查看要分析的数据文件的I/O读/写状态,以及数据文件的名称,磁盘I/O状态等信息。 例如,要查看V$BH视图中特定文件的I/O读/写状态,可以使用如下语句:

select * from dba_hist_iostat_filetype where file_name = ”;

官方英文解释

DBA_HIST_IOSTAT_FILETYPE displays historical I/O statistics by file type.

This view contains snapshots of V$IOSTAT_FILE.

Column Datatype NULL Description

SNAP_ID

NUMBER

NOT NULL

Unique snapshot ID

DBID

NUMBER

NOT NULL

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

NOT NULL

Instance number for the snapshot

FILETYPE_ID

NUMBER

NOT NULL

Type of file (for example, log file, data file, and so on)

FILETYPE_NAME

VARCHAR2(30)

NOT NULL

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

NOT NULL

Number of single block megabytes read

SMALL_WRITE_MEGABYTES

NUMBER

NOT NULL

Number of single block megabytes written

LARGE_READ_MEGABYTES

NUMBER

NOT NULL

Number of multiblock megabytes read

LARGE_WRITE_MEGABYTES

NUMBER

NOT NULL

Number of multiblock megabytes written

SMALL_READ_REQS

NUMBER

NOT NULL

Number of single block read requests

SMALL_WRITE_REQS

NUMBER

NOT NULL

Number of single block write requests

SMALL_SYNC_READ_REQS

NUMBER

NOT NULL

Number of synchronous single block read requests

LARGE_READ_REQS

NUMBER

NOT NULL

Number of multiblock read requests

LARGE_WRITE_REQS

NUMBER

NOT NULL

Number of multiblock write requests

SMALL_READ_SERVICETIME

NUMBER

NOT NULL

Total service time (in milliseconds) for single block read requests

SMALL_WRITE_SERVICETIME

NUMBER

NOT NULL

Total service time (in milliseconds) for single block write requests

SMALL_SYNC_READ_LATENCY

NUMBER

NOT NULL

Latency for single block synchronous reads (in milliseconds)

LARGE_READ_SERVICETIME

NUMBER

NOT NULL

Total service time (in milliseconds) for multiblock read requests

LARGE_WRITE_SERVICETIME

NUMBER

NOT NULL

Total service time (in milliseconds) for multiblock write requests

RETRIES_ON_ERROR

NUMBER

NOT NULL

Number of read retries on error

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

See Also:

“V$IOSTAT_FILE”


数据运维技术 » Oracle 视图 DBA_HIST_IOSTAT_FILETYPE 官方解释,作用,如何使用详细说明