Skip to main content

SAP ASE metrics

Database metrics are a comprehensive collection of database workloads and resource usages. The WhaTap monitoring service continuously collects metrics to identify bottlenecks in the database and provides data to help identify the root causes of performance issues.

agent_status_summary

This category collects metrics related to agent status every 10 seconds.

Fields

FieldTypeUnitDescription
inActTime-Millisecond(ms)Amount of time the agent remains inactive
isActiveBoolean-Whether the agent is active or not
isRestartBoolean-Whether the agent was restarted recently (true / false)
lastActTime-Millisecond(ms)Last time when the agent was activated (0: Disabled)
oid--Unique IDs for each agent in the project
startTime-Millisecond(ms)Timestamp when the agent was started.

db_sap_ase_counter

Field

The following lists the fields that are collected in the db_sap_ase_counter category.

MetricsDescriptionCategory
active_sessionsNumber of sessions running queriesConnection
total_sessionsTotal number of connected sessions, Number of active inbound connectionsConnection
connect_errorCounted number when the agent failed to access the databaseConnection
total_elapse_timeSum of execution times of active sessionsPerformance
long_running_sessionsNumber of sessions running for more than the long running time (default:10 seconds)Performance
lock_wait_sessionsNumber of sessions waiting for lock, where the BlockingSPID queried in active sessions is greater than 0.Performance
max_connectionsMaximum number of connectable sessionsConnection
BytesReceivedReceived bytes, value of monNetworkIONetwork
BytesSentTransmitted bytes, value of monNetworkIONetwork
cpu@@cpu_busy+@@io_busy value as CPU usage (unit: pct)Performance
cpu_coresNumber of CPU coresInfo
ReadsNumber of reads from the device (excluding APF), Reads value of monDeviceIOIO
IOTimeIOTime value of monDeviceIO as the total time (unit: ms) spent waiting for the I/O request to be satisfied.IO
WritesWrites value of monDeviceIO as the number of writes to the deviceIO
LockRequestsNumber of lock requests for objectsThroughput
LogicalReadsTotal number of cases where buffer was searched from the buffer cache without reading from diskIO
OperationsNumber of accesses to objects, value of monOpenObjectActivityThroughput
PacketsReceivedReceived packet count, value of monNetworkIONetwork
PacketsSentTransmitted packet count, value of monNetworkIONetwork
PagesReadNumber of read pagesIO
PagesWrittenNumber of pages written to diskIO
PhysicalReadsNumber of buffers read from diskIO
PhysicalWritesNumber of buffers written to diskIO
RowsDeletedNumber of deleted rowsThroughput
RowsInsertedNumber of inserted rowsThroughput
RowsUpdatedNumber of modified rowsThroughput
UsedCountNumber of cases where objects were used in the execution plan, as determined by the value of monOpenObjectActivityThroughput

XOS-related metrics

The following describes the metrics collected from the XOS agent.

MetricUnitDescription
cpu(xos)pctCPU utilization
cpu_user + cpu_sys + cpu_iowait
cpu_idle(xos)pctCPU idle time
cpu_iowait(xos)pctCPU's I/O waiting time
cpu_sys(xos)pctCPU's kernel code execution time
cpu_user(xos)pctCPU's user code execution time
disk_read_bytes(xos)byteNumber of data blocks read from disk
disk_reads(xos)blockNumber of buffers read from disk
disk_write_bytes(xos)byteNumber of pages written to disk
disk_writes(xos)blockNumber of buffers written to disk
mem(xos)pctMemory utilization
mem_available(xos)MBShared memory size
mem_buffcache(xos)MBAmount of memory used by the buff/cache
mem_free(xos)MBMemory not in use
mem_swapfree(xos)MBUnused swap space size
Because swap uses disk space, it may cause performance degradation.
mem_swaptotal(xos)MBTotal swap size
It is used when physical memory is insufficient.
mem_total(xos)MBTotal memory size
mem_used(xos)MBMemory size in use
net_recv_bytes(xos)byteAmount of data transmitted over the network
net_recv_packets(xos)countNumber of data packets transmitted over the network
net_send_bytes(xos)byteAmount of data transmitted over the network
net_send_packets(xos)countNumber of data packets transmitted over the network