您的位置:首页 > 其它

系统和会话统计信息(v$sysstat v$sesstat)

2017-03-01 21:04 295 查看
--系统和会话统计信息(v$sysstat v$sesstat)

在v$sysstat视图中包含两个关键列:

name标识统计信息。
value提供与统计信息相关的指标。

SYS@PROD1> select name,value from v$sysstat where name like '%commit%';

NAME VALUE
---------------------------------------------------------------- ----------
user commits 87
commit cleanout failures: write disabled 0
commit cleanout failures: block lost 0
commit cleanout failures: cannot pin 0
commit cleanout failures: hot backup in progress 0
commit cleanout failures: buffer being written 0
commit cleanout failures: callback failure 0
commit cleanouts 687
commit cleanouts successfully completed 687
commit txn count during cleanout 17
commit batch/immediate requested 9
commit batch requested 0
commit immediate requested 9
commit batch/immediate performed 9
commit batch performed 0
commit immediate performed 9
commit wait/nowait requested 0
commit nowait requested 0
commit wait requested 0
commit wait/nowait performed 0
commit nowait performed 0
commit wait performed 0
IMU commits 0
cell commit cache queries 0
cell transactions found in commit cache 0
cell blocks helped by commit cache 0
OTC commit optimization attempts 0
OTC commit optimization hits 0
OTC commit optimization failure - setup 0

29 rows selected.

--显示磁盘I/O操作处理的总数据量
SYS@PROD1> select name,value from v$sysstat where name like '%physical% total bytes';

NAME VALUE
---------------------------------------------------------------- ----------
physical read total bytes 183073280
physical write total bytes 59769856
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: