B.3. Memory and CPU Usage

Documentation

VoltDB Home » Documentation » Administrator's Guide

B.3. Memory and CPU Usage

The following tables describe the metrics monitoring memory and CPU usage, including memory compaction triggered by Volt and garbage collection triggered by Java.

Table B.4. Memory, Compaction, and Garbage Collection

MetricsTypeDescription
voltdb_​compaction_​execution_​secondsHistogram

The amount of time it took for compaction to complete.

voltdb_​compaction_​fragmented_​percentGauge

The current fragmentation percentage.

voltdb_​compaction_​invoked_​totalCounter

Number of times compaction was performed.

voltdb_​compaction_​relocated_​totalHistogram

The number of tuples relocated during compaction.

voltdb_​gc_​count_​totalCounter

The number of times garbage collection was performed. Tags:

  • GC_TYPE - (e.g. CMS, G1), example gc_type="G1 Young Generation".

voltdb_​gc_​time_​secondsCounter

Cumulative run time of garbage collection. Tags:

  • GC_TYPE - (e.g. CMS, G1), example gc_type="G1 Young Generation".

voltdb_​memory_​indexmemory_​bytesGauge

The amount of memory in use for storing database indexes.

voltdb_​memory_​javamaxheap_​bytesGauge

The maximum heap size of the Java runtime environment.

voltdb_​memory_​javaused_​bytesGauge

The amount of memory allocated by Java and in use by VoltDB.

voltdb_​memory_​nio_​total_​buffer_​count_​totalGauge

An estimate of the number of buffers in the NIO pool.

voltdb_​memory_​nio_​total_​size_​bytesGauge

An estimate of the total capacity of all the buffers in the NIO pool.

voltdb_​memory_​nio_​used_​bytesGauge

An estimate of the memory that the Java virtual machine is using for the NIO pool which resides outside the regular Java heap.

voltdb_​memory_​physicalmemory_​bytesGauge

The total size of physical memory on the server.

voltdb_​memory_​pooledmemory_​totalGauge

The total size of memory allocated for tasks other than database records, indexes, and strings.

voltdb_​memory_​rss_​bytesGauge

The resident set size. That is, the total amount of memory allocated to the VoltDB processes on the server.

voltdb_​memory_​stringmemory_​bytesGauge

The amount of memory in use for storing string, binary, and geospatial data that is not stored in-line in the database record.

voltdb_​memory_​tupleallocated_​bytesGauge

The amount of memory allocated for the storage of database records (including free space).

voltdb_​memory_​tuplecount_​totalGauge

The total number of database records in memory.

voltdb_​memory_​tupledata_​bytesGauge

The amount of memory in use for storing database records.

voltdb_​memory_​undo_​log_​size_​bytesGauge

-

voltdb_​memory_​undo_​pool_​size_​bytesGauge

The total size of memory allocated for the undo pool - memory used to store information needed to "undo" database changes if a transaction needs to rollback.


Table B.5. CPU

MetricsTypeDescription
voltdb_​cpu_​load_​percentGauge

The percentage of CPU used by the database server process. 0-100.