要查看Oracle数据库的物理读写情况,可以使用以下方法之一:
SELECT * FROM dba_hist_sysmetric_summary
WHERE metric_name IN ('Physical Read Total IO Requests Per Sec', 'Physical Write Total IO Requests Per Sec');
SELECT name, value
FROM v$sysstat
WHERE name IN ('physical reads', 'physical writes');
SELECT file_id, phyrds, phywrts
FROM v$filestat;
通过以上方法,可以查看Oracle数据库的物理读写情况,帮助进行性能优化和故障排除。