The Oracle (Advanced Metrics) service monitor provides checks on several internal Oracle performance statistics. To gather these statistics Uptime Infrastructure Monitor runs several queries directly against the Oracle database. Information on the exact queries and the required permissions for the Oracle (Advanced Metrics) monitor are outlined in this article.
Required Permissions
The Oracle (Advanced Metrics) service monitor selects from the following objects:
- v$sysstat
- v$rowcache
- v$librarycache
- v$session
- dba_blockers
Metrics
Metric | Explanation | Query |
Buffer Cache Hits Ratio | The number of buffer cache hits that are completed without accessing disk I/O. | column hit heading "HIT RATIO (%)" format 990.9 |
Data Dictionary Cache Hits Ratio | The number of data dictionary cache hits that are completed without accessing disk I/O. | column "HIT RATIO (%)" format 990.9 |
Library Cache Hits Ratio | The rate at which library cache pin misses occur. | column "HIT RATIO (%)" format 990.9 |
Redo Log Space Request Ratio | The number of redo log space requests per minute that have been made since the server was started. | column "Space requests (%)" format 990.9 |
Disk Sort Rate | The rate of Oracle sorts that are too large to be completed in memory and which are sorted using a temporary segment. | select d.value * 100/(d.value + m.value) DISK_SORT_RATE |
Active Sessions | The number of active sessions based on the value of V$PARAMETER.PROCESSES in the file init.ora. | set line 120 pagesize 1000 feed off; |
Oracle Blocking Sessions | The number of sessions that are preventing other sessions from committing changes to the Oracle database. | set line 120 pagesize 1000 feed off; |
Oracle Idle Sessions | The number of Oracle sessions that are idle. | set line 120 pagesize 1000 feed off; |