Oracle - Hit/Miss Ratios
Oracle - Hit/Miss Ratios
Here are some scripts related to Hit/Miss Ratios .
Buffer Hit Ratio
BUFFER HIT RATIO NOTES:
select sum(decode(NAME, 'consistent gets',VALUE, 0)) "Consistent Gets",
sum(decode(NAME, 'db block gets',VALUE, 0)) "DB Block Gets",
sum(decode(NAME, 'physical reads',VALUE, 0)) "Physical Reads",
round((sum(decode(name, 'consistent gets',value, 0)) +
sum(decode(name, 'db block gets',value, 0)) -
sum(decode(name, 'physical reads',value, 0))) /
(sum(decode(name, 'consistent gets',value, 0)) +
sum(decode(name, 'db block gets',value, 0))) * 100,2) "Hit Ratio"
from v$sysstat
Data Dict Hit Ratio
DATA DICTIONARY HIT RATIO NOTES:
select sum(GETS),
sum(GETMISSES),
round((1 - (sum(GETMISSES) / sum(GETS))) * 100,2)
from v$rowcache
SQL Cache Hit Ratio
SQL CACHE HIT RATIO NOTES:
select sum(PINS) Pins,
sum(RELOADS) Reloads,
round((sum(PINS) - sum(RELOADS)) / sum(PINS) * 100,2) Hit_Ratio
from v$librarycache
Library Cache Miss Ratio
LIBRARY CACHE MISS RATIO NOTES:
select sum(PINS) Executions,
sum(RELOADS) cache_misses,
sum(RELOADS) / sum(PINS) miss_ratio
from v$librarycache
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4082/viewspace-1003483/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle ArchitectureOracle
- Hit Ratio For ORACLEOracle
- Oracle TOP SQL&&HITOracleSQL
- tahiti.oracle.comOracle
- [Oracle Script] Buffer Cache Hit RatioOracle
- [Oracle Script] Library Cche Hit RatioOracle
- Apress Expert Oracle GoldenGate - ArchitectureOracleGo
- using escape character whitin oracleOracle
- maven eclipse miss required library解決MavenEclipseUI
- Oracle Doc list involved with architectOracle
- Oracle client/server architecture's benefits (275)OracleclientServer
- Oracle Maximum Availability Architecture(MAA)官方文件OracleAI
- recover and open db if archivelog required for recovery is either miss_465478.1HiveUI
- 上海站Oracle EBS Architecture 講課結束..Oracle
- Oracle 19c Concepts(14):Memory ArchitectureOracle
- Oracle 19c Concepts(15):Process ArchitectureOracle
- Oracle 19c Concepts(16):Application and Oracle Net Services ArchitectureOracleAPP
- puschitz
- Tahiti
- Architecture
- db2 -attribute of key are miss in result set . db2 錯誤DB2
- 快速解決整合華為AGC服務提示miss client id問題GCclient
- HDFS Architecture
- Process Architecture
- website architectureWeb
- The Architecture of NginxNginx
- [譯] Architecture Components 之 Guide to App ArchitectureGUIIDEAPP
- oracle 12c Release 2 版本廢棄 Non-CDB ArchitectureOracle
- Hacking Hit Tests
- Architecture–ViewModelView
- Architecture -- ViewModelView
- SAP MDM Architecture
- WhatisKotlin,andisitreallyworthittolearnit?Kotlin
- Buffer Cache Hit Ratio
- CSSfriendlyadapters:TheWhitePaperCSSAPT
- 懷念HITFM
- puschitz.com
- IJHIT雜誌