当前位置: 首页> 汽车> 新车 > 广告视频制作公司_公众号开发商咨询电话_今日新闻国际头条新闻_友情链接百科

广告视频制作公司_公众号开发商咨询电话_今日新闻国际头条新闻_友情链接百科

时间:2025/8/29 18:55:54来源:https://blog.csdn.net/jnrjian/article/details/143059032 浏览次数: 0次
广告视频制作公司_公众号开发商咨询电话_今日新闻国际头条新闻_友情链接百科

CREATE TABLE sum_read_writes
  AS SELECT SUM(phyrds) phys_reads, sum(phywrts) phys_wrts
        FROM V$FILESTAT;

TTITLE ' DATAFILE DISK I/O REPORT'
COLUMN name      FORMAT a30
COLUMN phyrds    FORMAT 999,999,999
COLUMN phywrts   FORMAT 999,999,999
COLUMN read_pct  FORMAT 999.99
COLUMN write_pct FORMAT 999.99
SELECT name,
       phyrds,
       phyrds * 100 / srw.phys_reads read_pct,
       phywrts,
       phywrts * 100 / srw.phys_wrts write_pct
  FROM sum_read_writes srw, v$datafile df, v$filestat fs
 WHERE df.file# = fs.file#
 ORDER BY phyrds desc;

DROP TABLE sum_read_writes;    

clear columns
TTITLE off 


select t.snap_id,t.filename,READTIM,PHYRDS, READTIM/PHYRDS ,SINGLEBLKRDTIM/SINGLEBLKRDS  from DBA_HIST_FILESTATXS t where   t.file#=3370
select *from DBA_HIST_FILESTATXS
select *From dba_hist_snapshot

CREATE TABLE sum_read_writes_53572
  AS SELECT SUM(phyrds) phys_reads, sum(phywrts) phys_wrts
        FROM DBA_HIST_FILESTATXS t where t.snap_id=53572;
        

CREATE TABLE sum_read_writes_53472
  AS SELECT SUM(phyrds) phys_reads, sum(phywrts) phys_wrts
        FROM DBA_HIST_FILESTATXS t where t.snap_id=53472;
        
        
select *from sum_read_writes_53572;
select *from sum_read_writes_53472;


SELECT filename,
       phyrds,
       phyrds * 100 / srw.phys_reads read_pct,
       phywrts,
       phywrts * 100 / srw.phys_wrts write_pct,
       READTIM/PHYRDS ,SINGLEBLKRDTIM/SINGLEBLKRDS
  FROM sum_read_writes_53572 srw,DBA_HIST_FILESTATXS fs
  where fs.snap_id=53572
 ORDER BY phyrds desc;
 
 
 SELECT filename,
       phyrds,
       phyrds * 100 / srw.phys_reads read_pct,
       phywrts,
       phywrts * 100 / srw.phys_wrts write_pct,
       READTIM/PHYRDS ,SINGLEBLKRDTIM/SINGLEBLKRDS
  FROM sum_read_writes_53472 srw,DBA_HIST_FILESTATXS fs
  where fs.snap_id=53472
 ORDER BY phyrds desc;

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Purpose

In 11.2.0.4 or later, new stats "1-bk Rds/s" and "Av 1-bk Rd(ms)" appear in "Tablespace IO Stats" and "File IO Stats" in AWR report.
What is the difference between the old stats "Av Rds/s", "Av Rd(ms)" and the new stats "1-bk Rds/s" and "Av 1-bk Rd(ms)"?

Scope

Details

The following columns are the combined statistics for both single block reads and multi block reads:

Av Rds/s : Number of physical reads per second
Av Rd(ms) : Average read time of physical read

The following columns are related to single block reads only:

1-bk Rds/s : Number of single block reads per second
Av 1-bk Rd(ms) : Average read time of single block read

"Av Rd(ms)" is obtained by computing READTIM/PHYRDS.
"Av 1-bk Rd(ms)" is obtained by computing SINGLEBLKRDTIM/SINGLEBLKRDS

All the stats above come from the columns of DBA_HIST_FILESTATXS:

PHYRDS : Number of physical reads
READTIM : Cumulative physical read time (in hundredths of a second)
SINGLEBLKRDS : Number of single block reads
SINGLEBLKRDTIM : Cumulative single block read time (in hundredths of a second)

关键字:广告视频制作公司_公众号开发商咨询电话_今日新闻国际头条新闻_友情链接百科

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: