Skip to main content

CUBRID metrics

Database metrics comprehensively collect the database workload and resource usage. The WhaTap monitoring service continuously collects metric data to identify bottlenecks in the database and provides data to help identify the root cause of the performance issue.

For more information about other metrics, see the following.

agent_status_summary

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

Fields

Field nameUnitDescriptionRemarks
inActTimeMillisecond(ms)Amount of time the agent remains inactive-
isActive-Whether the agent is active or nottrue / false
isRestart-Whether the agent has been recently restartedtrue / false
lastActTimeMillisecond(ms)Time when the agent was last activated0: If disabled
oid-Unique IDs for each agent in the project-
startTimeMillisecond(ms)Timestamp when the agent was started.-

db_cubrid_counter

Tags

The following lists the tags that are collected in the db_cubrid_counter category.

Tag nameDescriptionRemarks
agentIpIP address per agent.-
dbIsMultiWhether to support the multitenant or not.-
dbNameDatabase name.-
dbTypeDatabase type.-
dbVersionVersion of the database in use.-
onameAgent nameUnique value

Field

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

MetricsDescriptionCategory
active_sessionsNumber of active sessions.Transaction
broker_countNumber of brokers.Network
connect_errorNumber of connection errors.Network
data_page_buffer_hit_ratioData page buffer hit ratio.
Calculation method: (Num_data_page_fetches - Num_data_page_ioreads)*100 / Num_data_page_fetches
Buffer hit rate
executionsNumber of queries executedQuery
fatal_countNumber of fatal errors.Transaction
lock_wait_sessionsNumber of pending sessions.Concurrency/Lock
long_running_sessionsNumber of long running sessions.Transaction
num_adaptive_flush_log_pagesNumber of log pages flushed from log buffer to disk.Page buffer
num_adaptive_flush_max_pagesNumber of data pages allowed for flushing from data and log buffers to disk.Page buffer
num_adaptive_flush_pagesNumber of data pages flushed from data buffer to disk.Page buffer
num_btree_coveredNumber of cases in which the index includes all data upon query.Index
num_btree_deletesNumber of items deleted from B-Tree.Index
num_btree_get_statsNumber of cases B-Tree statistics have been queried.Index
num_btree_insertsNumber of items inserted into B-Tree.Index
num_btree_mergesNumber of B-Tree node merges.Index
num_btree_multirange_optimizationNumber of cases where multi-range optimization was performed for WHERE ... IN ... LIMIT conditional queriesIndex
num_btree_noncoveredNumber of cases where the index contains some or no data upon query.Index
num_btree_resumesNumber of restarts in B-Tree. It indicates the number of index scans that exceeded index_scan_oid_buffer_pages.Index
num_btree_splitsNumber of B-Tree node splits.Index
num_btree_updatesNumber of items updated from B-Tree.Index
num_data_page_dirtiesNumber of dirty data pages.Page buffer
num_data_page_fetchesNumber of pages for the fetched data.Page buffer
num_data_page_ioreadsNumber of data pages read from disk. A higher value indicates the efficiency is lower and correlates with a lower hit ratio.Page buffer
num_data_page_iowritesNumber of data pages written to disk. A higher value indicates that it is less efficient.Page buffer
num_file_createsNumber of created files.I/O
num_file_ioreadsNumber of I/O operations read from disk.I/O
num_file_iosynchesNumber of I/O operations for synchronization with disk.I/O
num_file_iowritesNumber of I/O operations stored to disk.I/O
num_file_page_allocsNumber of file page allocations.I/O
num_file_page_deallocsNumber of file page deallocations.I/O
num_file_removesNumber of removed files.I/O
num_heap_stats_bestspace_entriesNumber of best space entries in heap statistics.Page buffer
num_heap_stats_bestspace_maxedNumber of best heap space entries.Page buffer
num_log_append_recordsNumber of added log records.Log
num_log_archivesNumber of log archive operations executed.Log
num_log_page_ioreadsNumber of log pages read from disk.Log
num_log_page_iowritesNumber of log pages written to disk.Log
num_log_walsNumber of Write-Ahead Logging (WAL) records written in the log.Log
num_network_requestsNumber of network requests.Network
num_object_locks_acquiredNumber of acquired object locks.Concurrency/Lock
num_object_locks_convertedNumber of converted object locks.Concurrency/Lock
num_object_locks_re_requestedNumber of re-requested object locks.Concurrency/Lock
num_object_locks_waitsNumber of waiting object locks.Concurrency/Lock
num_page_locks_acquiredNumber of acquired page locks.Concurrency/Lock
num_page_locks_convertedNumber of converted page locks.Concurrency/Lock
num_page_locks_re_requestedNumber of re-requested page locks.Concurrency/Lock
num_page_locks_waitsNumber of waiting page locks.Concurrency/Lock
num_plan_cache_addNumber of entries added to the query plan cache.Query plan cache
num_plan_cache_class_oid_hash_entriesNumber of entries in the class OID hash table.Query plan cache
num_plan_cache_deleteNumber of cases a cache entry has been deleted.Query plan cache
num_plan_cache_fullNumber of victim searches when the cache entries exceeded the allowed limit.Query plan cache
num_plan_cache_hitNumber of cases an entry has been found in the query string hash table.Query plan cache
num_plan_cache_invalid_xasl_idNumber of misses for entry in the xasl_id hash table. It is the number of errors that occurred when a specific entry was victimized on the server, but the entry was requested by the client.Query plan cache
num_plan_cache_lookupNumber of lookups attempted using a specific key.Query plan cache
num_plan_cache_missNumber of entries not hit in the query string hash table.Query plan cache
num_plan_cache_query_string_hash_entriesNumber of entries in the query string hash table.Query plan cache
num_plan_cache_xasl_id_hash_entriesNumber of entries in the xasl id hash table.Query plan cache
num_prior_lsa_list_maxedMaximum number of entries in the LSA list.Log
num_prior_lsa_list_removedNumber of entries removed from the LSA list.Log
num_prior_lsa_list_sizeLSA list size.Log
num_query_deletesNumber of DELETE queries processed.Query
num_query_holdable_cursorsNumber of processed cursors that can be held.Query
num_query_insertsNumber of INSERT queries processed.Query
num_query_iscansNumber of index scan queries processed.Query
num_query_lscansNumber of LIST scan queries processed.Query
num_query_methscansNumber of METHOD scan queries processed.Query
num_query_mjoinsNumber of merge join queries processed.Query
num_query_nljoinsNumber of nested loop join queries processed.Query
num_query_objfetchesNumber of object fetch queries processed.Query
num_query_selectsNumber of SELECT queries processed.Query
num_query_setscansNumber of SET scan queries processed.Query
num_query_sscansNumber of full scan queries processed.Query
num_query_updatesNumber of UPDATE queries processed.Query
num_sort_data_pagesNumber of pages found from page buffer while sorting. The higher this value, the less efficient it is.Page buffer
num_sort_io_pagesNumber of pages fetched from disk while sorting. The higher this value, the less efficient it is.Page buffer
num_tran_commitsNumber of committed transactions.Transaction
num_tran_end_topopsNumber of top operation transactions that have been terminated.Transaction
num_tran_interruptsNumber of transaction interrupts.Transaction
num_tran_rollbacksNumber of rollback transactions.Transaction
num_tran_savepointsNumber of cases a save point is set.Transaction
num_tran_start_topopsNumber of top operation transactions that have been started.Transaction
psizePage size.I/O
qpsNumber of queries processed per second.Query
replication_delayReplication delay time.HA
time_ha_replication_delayHA replication delay time (seconds).HA
total_query_timeTotal query execution time.Query
total_sessionsTotal number of sessions.Transaction
tpsNumber of transactions per second.Transaction
warning_countNumber of warnings occurred.Transaction

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_user(xos)pctTime spent for CPU to execute user code.
cpu_sys(xos)pctTime spent for CPU to execute the kernel code.
cpu_iowait(xos)pctCPU time waited for IO.
cpu_idle(xos)pctCPU processor's idle time.
disk_reads(xos)blockAmount of data read from disk.
disk_read_bytes(xos)byteAmount of data read from disk.
disk_writes(xos)blockAmount of data written to disk.
disk_write_bytes(xos)byteAmount of data written to disk.
mem(xos)pctMemory utilization.
mem_total(xos)MBTotal amount of memory.
mem_free(xos)MBAmount of memory not in use by the system.
mem_used(xos)MBAmount of memory in use by the system.
mem_buffcache(xos)MBAmount of memory used by the buff/cache.
mem_swaptotal(xos)MBSet this in preparation for the case where the total Swap size and physical memory are insufficient.
mem_swapfree(xos)MBBecause the unused Swap area and Swap area are secured in disk space, the system performance may drop drastically while using Swap.
mem_available(xos)MBAvailable memory area.
net_recv_bytes(xos)byteAmount of data received over the network.
net_recv_packets(xos)-Number of data packets received over the network.
net_send_bytes(xos)byteAmount of data transmitted over the network.
net_send_packets(xos)-Number of data packets transmitted over the network.