Oracle 视图 V$OFS_STATS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$OFS_STATS存储着Oracle文件系统(OFS)的统计信息。它提供了目录,文件和段的状态数据,可以帮助开发人员识别性能功能和问题。
用途:
1. 该视图可用于监视和跟踪Oracle文件系统的吞吐量和性能指标,以便更好地优化系统性能。
2. 它还可以帮助分析OFS相关事件并定位可能出现的故障,从而节省排查时间。
使用:
可以通过查询 V$OFS_STATS 来检索特定OFS统计数据,可通过以下SQL查询语句获取:
SELECT * FROM V$OFS_STATS;
此外,也可以连接其他活动视图(如V$ACTIVE_SESSIONS)以获取更多信息:
SELECT S.*, OFS.*
FROM OVS$OFS_STATS OFS
JOIN V$ACTIVE_SESSIONS S
ON OFS.SID = S.SID;
官方英文解释
V$OFS_STATS
displays performance statistics for various Oracle File System operations. These statistics are maintained at per mount level.
Column | Datatype | Description |
---|---|---|
|
|
Mount point |
|
|
Number of lookup operations performed |
|
|
Number of forget operations performed |
|
|
Number of getattr operations |
|
|
Number of setattr operations |
|
|
Number of readlink operations |
|
|
Number of symlink operations |
|
|
Number of mknod operations |
|
|
Number of mkdir operations |
|
|
Number of remove file operations |
|
|
Number of remove directory operations |
|
|
Number of file rename operations |
|
|
Number of hard link operations |
|
|
Number of file open operations |
|
|
Number of file read operations |
|
|
Number of file write operations |
|
|
Number of statfs operations performed |
|
|
Number of release operations |
|
|
Number of file sync operations |
|
|
Number of set extended attributes operations |
|
|
Number of get extended attributes |
|
|
Number of list extended attributes |
|
|
Number of remove extended attributes |
|
|
Number of flush operations |
|
|
Number of init operations |
|
|
Number of opendir operations |
|
|
Number of readdir operations |
|
|
Number of releasedir operations |
|
|
Number of directory sync operations |
|
|
Number of file get lock operations |
|
|
Number of file lock operations |
|
|
Number of file lock operation with wait option |
|
|
Number of access operations |
|
|
Number of create operations |
|
|
Number of interrupt operations received on the mount |
|
|
Number of block map operations received |
|
|
Number of destroy operations |
|
|
Total number of bytes read on the mount point |
|
|
Total number of bytes written to the mount point |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Note:
This database view is supported only on the Linux operating system.
See Also:
“V$OFSMOUNT”