Skip to main content

SingleStore Monitoring

SingleStore is a distributed SQL database that stores data across multiple nodes. As the number of nodes grows, it becomes hard to spot overloaded nodes and data skew at a glance. In WhaTap database monitoring, you can check the overall cluster state, per-node metrics, and SQL performance together.

WhaTap works by having the DBX agent connect to the SingleStore cluster and collect metrics. When you install the agent on only one aggregator node, it automatically detects leaf nodes through MV_NODES and collects the entire cluster, so you do not need to install the agent on every node. For details on how to get started, see the Getting Started document.

SingleStore cluster architecture​

A SingleStore cluster is made up of nodes with different roles. Node roles appear throughout the screens, including the ROLE column in the instance list, so it helps to understand them first.

ROLENameDescription
MAMaster AggregatorThe primary aggregator responsible for managing cluster metadata and routing queries
CAChild AggregatorA secondary aggregator that helps distribute query processing
LeafLeafA leaf node that stores actual data and performs computation

In simple terms, the aggregators (MA, CA) are the front desk that receives requests and distributes them, while the leaf nodes are closer to the workers that hold the data and do the work.

Monitoring screen layout​

SingleStore monitoring provides screens focused on the items most often checked in a distributed environment.

ScreenDescription
Instance MonitoringCheck per-node CPU, memory, disk, and network metrics and active sessions in real time
Multi-Instance MonitoringGather metrics from multiple nodes into one dashboard for comparison
Storage EngineCheck Leaf node memory and disk usage, size by table, partition skew, and Columnstore fragmentation
PartitionCheck partition placement, replication status, and table size skew across partitions
PipelineCheck the throughput, latency, and errors of data ingestion pipelines
Database SizeCheck capacity trends by database
Top SQLAnalyze high-load SQL with metrics and trend charts
Session HistoryLook up past active sessions in chronological order
Lock TreeCheck lock waits and deadlocks in a tree view

Supported environments​

Based on the official installation guide, the following environments are supported.

  • SingleStore 9.0 or later
  • DBX agent installed on an aggregator node (leaf nodes are auto-detected through MV_NODES)
  • Monitoring account privileges grant select, process, cluster on *.*

For details such as agent server specifications, Java requirements, and firewall rules, see the Supported environments document.