Skip to content

Oracle Database

Monitor Oracle Database 10.x and above with SQL queries from the Component Agent.

10 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
DB Server Oracle 10.x and above

Monitoring Strategies for Components#

Monitoring of these DB servers is using database specific SQL queries triggered from HEAL’s Component Agent. The component agent can reside on the same host, or it can trigger these queries remotely.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
Oracle Bytes Received SQLNet bytes received via SQL*Net from client Total number of bytes received from the client over Oracle Net Services Bytes
Oracle Bytes Sent SQLNet bytes sent via SQL*Net to client Total number of bytes sent to the client from the foreground processes Bytes
Oracle Current Open Cursors opened cursors current the number of cursors that are currently open in the database. Count
Oracle Cache Hit Ratio CACHEHITRATIO Ratio of the number of times an open cursor was found and the number of times a cursor was sought. Percentage
Oracle Physical Reads physical reads The number of blocks read from the operating system. It includes physical reads into the System Global Area -SGA buffer cache (a buffer cache miss) and direct physical reads into the Program Global Area - PGA (for example during direct sort operations). This statistic is not the number of I/O requests. Count
Oracle Physical Writes physical writes The number of database blocks written from the Sysystem Global Area - SGA buffer cache to disk by Database Writer - DBWR and from the PGA by processes performing direct writes. Count
Oracle Logical Reads session logical reads The number of logical read requests that can be satisfied in the buffer cache or by a physical read Count
Oracle User Commits user commits Number of user commits. When a user commits a transaction the redo generated that reflects the changes made to database blocks must be written to disk. Commits often represent the closest thing to a user transaction rate Count
Oracle User Calls user calls Number of user calls such as login parse fetch or execute When determining activity the ratio of user calls to RPI calls give you an indication of how much internal work gets generated as a result of the type of requests the user is sending to Oracle Count
Oracle User Rollbacks user rollbacks Number of times users manually issue the ROLLBACK statement or an error occurs during a users transactions. Count
Oracle Execute Count execute count The total number of SQL statement executions (including recursive SQL). Count
Oracle Number of Sessions logons cumulative The total number of logons since the instance started. To determine the number of logons in a particular period subtract the end value from the begin value. A useful derived statistic is to divide the number of connections between a begin and end time and divide this by the number of seconds the interval covered. This gives the logon rate. Optimally there should be no more than two logons each second. To contrast a logon rate of 50 a second is considered very high. Applications that continually connect and disconnect from the database (for example once for each transaction) do not scale well. Count
Oracle CPU Usage CPU used when call started The CPU time used when the call is started in the amount of CPU time used by a session from the time a user call starts until it ends Milliseconds
Oracle Hard Parse Count parse count (hard) The number of parse calls that resulted in a miss in the shared pool. A hard parse occurs when a SQL statement is executed and the SQL statement is either not in the shared pool or it is in the shared pool but it cannot be shared because part of the metadata for the two SQL statements is different. This can happen if a SQL statement is textually identical to a preexisting SQL statement but the tables referred to in the two statements resolve to physically different tables. A hard parse is a very expensive operation in terms of CPU and resource use (for example latches) because it requires Oracle to allocate memory within the shared pool then determine the execution plan before the statement can be executed. Count
Oracle Sorts Disk sorts (disk) Is the number of sort operations that were larger than SORT_AREA_SIZE and had to use space on disk to complete the sort Count
Oracle Sorts Rows sorts (rows) Total number of rows sorted by the system. Count
Oracle Table Scans Long table scans (long tables) If a table is longer than the threshold then a full tablescan of the table will only use db_file_multiblock_read_count buffers at the end of the LRU (least recently used) chain to read the table and (allowing a little inaccuracy for multi-user systems pinning and so on) keeps recycling the same few buffers to read the table thus protecting the bulk of the buffer cache from being wiped out by a single large tablescan. Such a tablescan would be recorded under the statistic Count
Oracle Table Scans Short table scans (short tables) If a table is shorter than the threshold then it is read to the midpoint of the cache (just like any other block read) but - whether by accident or design - the touch count is not set and the table will fall off the LRU end of the buffer cache fairly promptly as other objects are read into the buffer. Such a tablescan would be recorded under the statistic. Count
Oracle Lock Waits Per Minute LOCKWAITS Number of lock waits per min. Count
Oracle Query Key Value QUERY_KEY_VALUE KPI shows query data in key value pair Text
Oracle Communication Status COMM_STATUS The status of communication between nodes in a cluster. Count
Oracle Modified Status MODIFIED_STATUS File modified status in last interval Count
Oracle Exists EXISTS indicates whether a particular object exists or not. Count
Oracle Pattern Found PATTERN_FOUND Pattern availability in the given file Count
Oracle Process Running PROCESS_RUNNING The number of processes currently running in the system. Count
Oracle Cluster Status CLUSTER_STATUS the current state of the cluster (e.g. up down syncing). Count
Oracle Last Tables Analyzed LAST_TABLE_ANALYZED The time stamp of the most recent table analysis. Count
Oracle Last Index Rebuild LAST_INDEX_REBUILD The time stamp of the most recent index rebuild. Count
Oracle Table Level Locks TABLE_LEVEL_LOCKS The number of locks being used at the table level. Count
Oracle Archive Files Count NO_ARCHIVE_FILES represents the number of archive files Count
Oracle Archive Files Size ARCHIVEFILE_SIZE refers to the total size of archived files in megabytes Megabytes
Oracle Invalid Objects INVALID_OBJECTS the number of database objects that are invalid and need recompilation or recreation. Count
Oracle Long Running Count LRCOUNT The count of threads that are currently running for an extended period. Count
Oracle Holder Wait Sessions Count HOLDERWAITSESSIONSCOUNT The number of database sessions waiting for a resource held by another session. Count
Oracle Key Value KEY_VALUE Modification status of the Key Value pairs in the configured file Text
Oracle File Watch FILE_WATCH Monitors file changes in a directory or a specific file. Text
Oracle Established ESTABLISHED Number of established connections for a given port Count
Oracle Close Wait CLOSE_WAIT Number of close_wait connections for a given port Count
Oracle Sync Sent SYN_SENT Number of sync sent connections for a given port Count
Oracle Time Wait TIME_WAIT Number of time_wait connections for a given port Count
Oracle Fin Wait FIN_WAIT Number of fin_wait connections for a given port Count
Oracle Sync Receive SYN_RCVD Number of synchronously received messages. Count
Oracle Ping Status PING_STATUS IP availability based on ping Count
Oracle Established Status ESTABLISHED_STATUS It indicates the current status of established connections. Count
Oracle Listen Status LISTEN_STATUS Listen status of a port Count
Oracle Pattern Based Oracle Errors ORA_ERROR Total number of errors occurred with configured pattern(s) in previous interval. Count
Oracle DB Sequence DB_SEQUENCE The value of the sequence number of the database. Count
Oracle Tablespace Full TABLESPACE_FULL The percentage of the tablespace that is currently full. Count
Oracle DB Sequence Cyclic DB_SEQUENCE_CYCLIC The value of the sequence number of the database in a cyclic sequence. Count
Oracle SQL Text PHYSICALREADS_SQL_TEXT First thousand characters of the SQL text for the current cursor Characters
Oracle Sorts PHYSICALREADS_SORTS Sum of the number of sorts that were done for all the child cursors. Count
Oracle Fetches PHYSICALREADS_FETCHES Number of fetches associated with the SQL statement. Count
Oracle Executions PHYSICALREADS_EXECUTIONS Number of executions that took place on this object since it was brought into the library cache. Count
Oracle User Executing PHYSICALREADS_USERS_EXECUTING Number of users executing the statement. Count
Oracle Parse Calls PHYSICALREADS_PARSE_CALLS Number of parse calls for all cursors with this SQL text and plan. Count
Oracle Disk Reads PHYSICALREADS_DISK_READS Number of disk reads for all cursors with this SQL text and plan. Count
Oracle Disk Writes PHYSICALREADS_DIRECT_WRITES Number of direct writes for all cursors with this SQL text and plan. Count
Oracle Buffer Gets PHYSICALREADS_BUFFER_GETS Number of buffer gets for all cursors with this SQL text and plan. Count
Oracle Application Wait Time PHYSICALREADS_APP_WAIT_TIME measures the amount of time an application has spent waiting Count
Oracle Rows Processed PHYSICALREADS_ROWS_PROCESSED Total number of rows the parsed SQL statement returns. Count
Oracle Command Type PHYSICALREADS_COMMAND_TYPE The SQL command type associated with this measurement sample. Count
Oracle Optimizer Mode PHYSICALREADS_OPTIMIZER_MODE Oracle command type definition. Characters
Oracle Avg CPU Time PHYSICALREADS_AVG_CPU_TIME CPU time used by this cursor for parsing, executing, and fetching., executing, and fetching. Microseconds
Oracle Avg Elapsed Time PHYSICALREADS_AVG_ELAPSED_TIME Elapsed time used by this cursor for parsing, executing, and fetching., executing, and fetching. Microseconds
Oracle Hash Value PHYSICALREADS_HASH_VALUE Hash value of the parent statement in the library cache. Characters
Oracle Last Active Time PHYSICALREADS_LASTACTIVETIME Time at which the query plan was last active. Characters
Oracle Disk Reads Per Exec PHYSICALREADS_DISK_READS_EXEC Sum of the number of disk reads over all child cursors per Execution. Count
Oracle Buffer Gets Per Exec PHYSICALREADS_BUFFER_GETS_EXEC Sum of buffer gets over all child cursors per Execution. Count
Oracle First Load Time PHYSICALREADS_FIRST_LOAD_TIME Timestamp of the parent creation time. Characters
Oracle Runtime Memory PHYSICALREADS_RUNTIME_MEM 'Fixed amount of memory required during execution of a cursor. If multiple child cursors exist, the fixed sum of all memory required during execution of all the child cursors.' Count
Oracle Sharable Memory PHYSICALREADS_SHARABLE_MEM The amount of memory shared by multiple processes or threads in the application. Count
Oracle Persistent Memory PHYSICALREADS_PERSISTENT_MEM Fixed amount of memory used for the lifetime of an open cursor. Count
Oracle Address PHYSICALREADS_ADDRESS Refers to the address of a system component or device Count
Oracle SQL ID PHYSICALREADS_SQL_ID SQL identifier of the parent cursor in the library cache. Characters
Oracle Active Sessions oracle_active_sessions the number of active user sessions in the system at a given time. Count
Oracle Inactive Sessions oracle_inactive_sessions Number of inactive database sessions that are currently open. Count
Oracle Max Processes oracle_max_processes the maximum number of processes used by the software. Count
Oracle Max Sessions oracle_max_sessions the maximum number of sessions used by the software. Count
Oracle ASM Used % asm_grp_used_percentage refer to the percentage of used ASM disk space Percentage
Oracle ASM Total In MB asm_grp_total refers to the total size of ASM disk space in megabytes. Megabytes
Oracle Tablespace Total In MB tblspc_grp_total The total size of the tablespace in megabytes. Megabytes
Oracle Tablespace Used % tblspc_grp_used_percentage The percentage of the tablespace that is currently in use. Percentage
Oracle Total ORA Errors ORA_ERROR_NG Total number of errors occurred with pattern ORA-" in previous interval." Count
Oracle Oracle Process ORA_PROCESS Check the availability of the pattern in given file Count
Oracle Component Properties Component_Properties The properties of a component such as its version and configuration. Text
Oracle Not Initiated NOT_INITIATED_COUNT To get the Application Services Status Count
Oracle Progress INPROGRESS_COUNT To get the Application In Progress Count Count
Oracle Completed COMPLETED_COUNT To get the Application Completed Count Count
Oracle Last Ack LAST_ACK Total number of TCP connections in the LAST_ACK state Count
Oracle USER ID PHYSICALREADS_USER_ID Oracle User Id. Characters
Oracle Ora Active Session ORA_ACTIVE_SESSIONS the number of active user sessions in the system at a given time. Count
Oracle Ora Inactive Session ORA_INACTIVE_SESSIONS Number of inactive database sessions that are currently open. Count
Oracle DB Wait Events DB_WAIT_EVENTS Ora DB Wait Events. Count
Oracle Archieve LogFile GAP ARCHIEVE_LOGFILE_GAP Ora Archieve LogFile GAP. Count
Oracle Undo Log ORACLE_UNDO_LOG_COUNT number of undo records created in the last 1 minute, based on the v$undostat view. Count
Oracle Redo Log ORACLE_REDO_LOG_COUNT count of redo log entries generated in the last 1 minute, using the v$log_history view. Count
Oracle Sys Time Model ORACLE_SYS_TIME_MODEL collect oracle Sys Time Model. Seconds
Oracle Sys Stats ORACLE_SYS_STATS collect oracle Sys stats data. Megabytes
Oracle Pga Stats ORACLE_PGA_STATS collect oracle pga data. Megabytes
Oracle Sga Stats ORACLE_SGA_STATS collect oracle Sga data. Megabytes
Oracle Get ORACLE_GET collect oracle Get. Megabytes
Oracle Misses ORACLE_MISES collect oracle Misses data. Megabytes
Oracle Sleeps ORACLE_SLEEPS collect oracle Sleeps data. Megabytes
Oracle Miss Pct ORACLE_MISS_PCT collect oracle Miss Pct data. Megabytes
Oracle SQL ID PHYSICALWRITES_SQL_ID SQL identifier of the parent cursor in the library cache. Characters
Oracle SQL Text PHYSICALWRITES_SQL_TEXT First thousand characters of the SQL text for the current cursor Characters
Oracle Sorts PHYSICALWRITES_SORTS Sum of the number of sorts that were done for all the child cursors. Count
Oracle Fetches PHYSICALWRITES_FETCHES Number of fetches associated with the SQL statement. Count
Oracle Executions PHYSICALWRITES_EXECUTIONS Number of executions that took place on this object since it was brought into the library cache. Count
Oracle User Executing PHYSICALWRITES_USERS_EXECUTING Number of users executing the statement. Count
Oracle Parse Calls PHYSICALWRITES_PARSE_CALLS Number of parse calls for all cursors with this SQL text and plan. Count
Oracle Disk Reads PHYSICALWRITES_DISK_READS Number of disk reads for all cursors with this SQL text and plan. Count
Oracle Disk Writes PHYSICALWRITES_DIRECT_WRITES Number of direct writes for all cursors with this SQL text and plan. Count
Oracle Buffer Gets PHYSICALWRITES_BUFFER_GETS Number of buffer gets for all cursors with this SQL text and plan. Count
Oracle Application Wait Time PHYSICALWRITES_APP_WAIT_TIME measures the amount of time an application has spent waiting Count
Oracle Rows Processed PHYSICALWRITES_ROWS_PROCESSED Total number of rows the parsed SQL statement returns. Count
Oracle Command Type PHYSICALWRITES_COMMAND_TYPE The SQL command type associated with this measurement sample. Count
Oracle Optimizer Mode PHYSICALWRITES_OPTIMIZER_MODE Oracle command type definition. Characters
Oracle Avg CPU Time PHYSICALWRITES_AVG_CPU_TIME CPU time used by this cursor for parsing, executing, and fetching., executing, and fetching. Microseconds
Oracle Avg Elapsed Time PHYSICALWRITES_AVG_ELAPSED_TIME Elapsed time used by this cursor for parsing, executing, and fetching., executing, and fetching. Microseconds
Oracle Hash Value PHYSICALWRITES_HASH_VALUE Hash value of the parent statement in the library cache. Characters
Oracle Last Active Time PHYSICALWRITES_LASTACTIVETIME Time at which the query plan was last active. Characters
Oracle Disk Reads Per Exec PHYSICALWRITES_DISK_READS_EXEC Sum of the number of disk reads over all child cursors per Execution. Count
Oracle Buffer Gets Per Exec PHYSICALWRITES_BUFFER_GETS_EXEC Sum of buffer gets over all child cursors per Execution. Count
Oracle First Load Time PHYSICALWRITES_FIRST_LOAD_TIME Timestamp of the parent creation time. Characters
Oracle Runtime Memory PHYSICALWRITES_RUNTIME_MEM Fixed amount of memory required during execution of a cursor. If multiple child cursors exist the fixed sum of all memory required during execution of all the child cursors. Count
Oracle Sharable Memory PHYSICALWRITES_SHARABLE_MEM The amount of memory shared by multiple processes or threads in the application. Count
Oracle Persistent Memory PHYSICALWRITES_PERSISTENT_MEM Fixed amount of memory used for the lifetime of an open cursor. Count
Oracle Address PHYSICALWRITES_ADDRESS Refers to the address of a system component or device Characters
Oracle USER ID PHYSICALWRITES_USER_ID Oracle User Id. Characters
Oracle DISK Writes Exec PHYSICALWRITES_DISK_WRITES_EXEC Disk Writes EXEC. Characters